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
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 2016 phorcys@126.com. All rights reserved.
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libnfs
21 COMPONENT_VERSION
= 1.9.8
23 COMPONENT_FMRI
= library
/libnfs
24 COMPONENT_CLASSIFICATION
=System
/Libraries
25 COMPONENT_PROJECT_URL
= https
://github.com
/sahlberg
/libnfs
/
26 COMPONENT_SUMMARY
= LIBNFS is a client library for accessing NFS shares over a network.
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= \
30 sha256
:e95af693e763a504eee72dacf3dc6c1001d83e40b807e7e1d0be2eaf48af779c
31 COMPONENT_ARCHIVE_URL
= \
32 https
://github.com
/sahlberg
/libnfs
/archive
/$(COMPONENT_ARCHIVE
)
33 COMPONENT_LICENSE
= LGPLv2.1
,BSD
35 TEST_TARGET
=$(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
38 COMPONENT_PREP_ACTION
= \
39 ( cd
$(@D
) && NOCONFIGURE
=true sh bootstrap
)
41 CONFIGURE_OPTIONS
+= --disable-static
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= system
/library