2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
13 PKG_SOURCE_URL
:=https
://github.com
/rockdaboot
/libpsl
/releases
/download
/$(PKG_VERSION
)
14 PKG_HASH
:=ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c
16 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>
18 PKG_LICENSE_FILES
:=LICENSE
20 include $(INCLUDE_DIR
)/package.mk
21 include $(INCLUDE_DIR
)/nls.mk
22 include $(INCLUDE_DIR
)/meson.mk
27 TITLE
:=C library to handle the Public Suffix List
28 URL
:=https
://github.com
/rockdaboot
/libpsl
29 DEPENDS
:=+libidn2
+libunistring
$(INTL_DEPENDS
)
33 define Package
/libpsl
/description
34 C library to handle the Public Suffix List
41 define Build
/InstallDev
42 $(INSTALL_DIR
) $(1)/usr
/include $(1)/usr
/lib
$(1)/usr
/lib
/pkgconfig
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libpsl.h
$(1)/usr
/include/
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpsl.so
* $(1)/usr
/lib
/
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libpsl.
pc $(1)/usr
/lib
/pkgconfig
/
48 define Package
/libpsl
/install
49 $(INSTALL_DIR
) $(1)/usr
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libpsl.so.
* $(1)/usr
/lib
/
53 $(eval
$(call BuildPackage
,libpsl
))