rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / library / libfuse / Makefile
blob5e4545c95a37496976a7818c0a76c45d06a718cd
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 2016 Adam Stevko. All rights reserved.
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= libfuse
18 COMPONENT_VERSION= 20100615
19 IPS_COMPONENT_VERSION= 2.7.6
20 COMPONENT_REVISION= 8
21 COMPONENT_FMRI= library/$(COMPONENT_NAME)
22 COMPONENT_CLASSIFICATION = System/Libraries
23 COMPONENT_SUMMARY= FUSE stands for 'File system in User Space'. It provides a simple interface to allow implementation of a fully functional file system in user-space.
24 COMPONENT_SRC= $(COMPONENT_NAME)
25 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tgz
26 COMPONENT_ARCHIVE_HASH= sha256:55ff0e54fdaaa51267cef3cd031991862aca48c00efba735b3ac169f051357b0
27 COMPONENT_PROJECT_URL= https://github.com/libfuse/libfuse
28 COMPONENT_ARCHIVE_URL= https://github.com/jurikm/illumos-fusefs/raw/master/lib/$(COMPONENT_ARCHIVE)
29 COMPONENT_LICENSE = LGPLv2
30 COMPONENT_LICENSE_FILE= COPYING.LIB
32 include $(WS_MAKE_RULES)/prep.mk
33 include $(WS_MAKE_RULES)/justmake.mk
34 include $(WS_MAKE_RULES)/ips.mk
36 GMAKE=/usr/bin/dmake
38 COMPONENT_BUILD_ARGS= -e CFLAGS="$(CFLAGS)" CC=$(CC)
40 COMPONENT_BUILD_TARGET.32= $(MACH)
41 COMPONENT_BUILD_TARGET.64= $(MACH64)
42 COMPONENT_BUILD_TARGET=$(COMPONENT_BUILD_TARGET.$(BITS))
44 $(INSTALL_32): $(BUILD_32)
45 (cd $(BUILD_DIR_32) && dmake -e ROOT=$(PROTO_DIR) preinstall)
46 (cd $(BUILD_DIR_32)/$(MACH) && dmake -e ROOT=$(PROTO_DIR) install)
47 touch $@
49 $(INSTALL_64): $(BUILD_64)
50 (cd $(BUILD_DIR_64) && dmake -e ROOT=$(PROTO_DIR) preinstall)
51 (cd $(BUILD_DIR_64)/$(MACH64) && dmake -e ROOT=$(PROTO_DIR) install)
52 touch $@
54 build: $(BUILD_32_and_64)
56 install: $(INSTALL_32_and_64)
58 test: $(NO_TESTS)
60 # Manually added dependencies
61 REQUIRED_PACKAGES += shell/ksh93
62 REQUIRED_PACKAGES += system/library