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 2015 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= libtasn1
19 COMPONENT_VERSION
= 4.8
20 COMPONENT_SUMMARY
= Tiny ASN
.1 library
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:fa802fc94d79baa00e7397cedf29eb6827d4bd8b4dd77b577373577c93a8c513
25 COMPONENT_ARCHIVE_URL
= \
26 http
://ftp.gnu.org
/gnu
/libtasn1
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/libtasn1
/
28 COMPONENT_FMRI
= library
/libtasn1
29 COMPONENT_CLASSIFICATION
= System
/Libraries
30 COMPONENT_LICENSE
= Library is LGPLv2.1
, binaries are GPLv3
31 COMPONENT_LICENSE_FILE
= libtasn1.license
33 include $(WS_MAKE_RULES
)/prep.mk
34 include $(WS_MAKE_RULES
)/configure.mk
35 include $(WS_MAKE_RULES
)/ips.mk
37 PATH
=/usr
/gnu
/bin
:/usr
/bin
39 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
40 CONFIGURE_OPTIONS
+= --disable-static
41 CONFIGURE_OPTIONS
+= --enable-shared
43 build
: $(BUILD_32_and_64
)
45 install: $(INSTALL_32_and_64
)
47 test: $(TEST_32_and_64
)