libusb: find usb.h correctly
[unleashed-userland.git] / components / patchutils / Makefile
blob1299f351e8e55b2eae199bd44f861d3d5089e165
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= patchutils
20 COMPONENT_VERSION= 0.3.3
21 COMPONENT_SUMMARY= patchutils - Tools for manipulating patch files
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:91f4e8451b2efcac5d40c966e42c175803450f0de94c926bfecc12c90070ad3c
26 COMPONENT_ARCHIVE_URL= \
27 http://cyberelk.net/tim/data/patchutils/stable/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL = http://cyberelk.net/tim/software/patchutils/
30 include ../../make-rules/prep.mk
31 include ../../make-rules/configure.mk
32 include ../../make-rules/ips.mk
34 PATCH_LEVEL = 0
36 CONFIGURE_OPTIONS += --with-patch=gpatch
37 CONFIGURE_OPTIONS += --with-diff=gdiff
39 COMPONENT_TEST_ENV += PATH=/usr/bin:/usr/gnu/bin:/opt/dtbld/bin
41 build: $(BUILD_32)
43 install: $(INSTALL_32)
45 test: $(TEST_32)