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 2017 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
18 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= libidn2
22 COMPONENT_VERSION
= 2.3.4
24 COMPONENT_SUMMARY
= An implementation of IDNA2008 internationalized domain names
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f
28 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/gnu
/libidn
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/libidn
/
30 COMPONENT_FMRI
= library
/libidn2
31 COMPONENT_CLASSIFICATION
= System
/Libraries
32 COMPONENT_LICENSE
= LGPLv3
, GPLv2
34 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
37 CONFIGURE_OPTIONS
+= --enable-static
=no
38 CONFIGURE_OPTIONS
+= --includedir=/usr
/include/idn2
40 # Without the following one test (libidn2) fails:
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES
+= library
/libunistring
45 REQUIRED_PACKAGES
+= system
/library