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 2023 Niklas Poslovski
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= libpsl
20 COMPONENT_VERSION
= 0.21.5
21 COMPONENT_SUMMARY
= Public Suffix List Library
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= sha256
:1dcc9ceae8b128f3c0b3f654decd0e1e891afc6ff81098f227ef260449dae208
25 COMPONENT_ARCHIVE_URL
= https
://github.com
/rockdaboot
/$(COMPONENT_NAME
)/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
26 COMPONENT_PROJECT_URL
= https
://github.com
/rockdaboot
/$(COMPONENT_NAME
)
27 COMPONENT_FMRI
= library
/libpsl
28 COMPONENT_CLASSIFICATION
= System
/Libraries
29 COMPONENT_LICENSE
= MIT
30 COMPONENT_LICENSE_FILE
= LICENSE
32 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= --enable-static
=no
38 COMPONENT_POST_INSTALL_ACTION
+= \
39 $(GSED
) -i
"s|/usr/bin/env python|$(PYTHON)|" $(PROTO_DIR
)/usr
/bin
/psl-make-dafsa
43 # Auto-generated dependencies
44 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
45 REQUIRED_PACKAGES
+= library
/libidn2
46 REQUIRED_PACKAGES
+= library
/libunistring
47 REQUIRED_PACKAGES
+= system
/library