libusb: pkgdepend requires the proto dir to exist
[unleashed-userland.git] / components / lft / Makefile
blobdf6021f71110e505253057b54ede47e85b5ba240
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2014 (c) Aurelien Larcher. All rights reserved.
14 include ../../make-rules/shared-macros.mk
16 COMPONENT_NAME= lft
17 COMPONENT_VERSION= 3.72
18 COMPONENT_FMRI= diagnostic/lft
19 COMPONENT_PROJECT_URL= http://pwhois.org/lft/
20 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
21 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
22 COMPONENT_ARCHIVE_HASH= \
23 sha256:e51535ad0c04c75a76e44db2e38641d1803d0d7c212b7be79580532057c11d88
24 COMPONENT_ARCHIVE_URL= http://pwhois.org/dl/index.who?file=$(COMPONENT_ARCHIVE)
25 COMPONENT_BUGDB= $(COMPONENT_FMRI)
26 COMPONENT_LICENSE= VOSTROM Public License for Open Source
27 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
28 COMPONENT_SUMMARY= Layer Four Traceroute (LFT) and WhoB
30 include $(WS_MAKE_RULES)/prep.mk
31 include $(WS_MAKE_RULES)/configure.mk
32 include $(WS_MAKE_RULES)/ips.mk
34 # Work around broken Makefile not supporting out of source build
35 COMPONENT_POST_CONFIGURE_ACTION= $(CP) $(SOURCE_DIR)/*.c $(SOURCE_DIR)/*.h $(SOURCE_DIR)/*.8 $(BUILD_DIR_$(BITS))/
37 COMPONENT_INSTALL_ARGS=DESTDIR=$(PROTO_DIR)
39 # common targets
40 build: $(BUILD_32)
42 install: $(INSTALL_32)
44 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
46 include $(WS_MAKE_RULES)/depend.mk