wok-next diff libpsl/receipt @ rev 20959
Fix minicom
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 06 11:27:41 2018 +0200 (2018-09-06) |
parents | |
children | d5aab818505e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libpsl/receipt Thu Sep 06 11:27:41 2018 +0200 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libpsl" 1.7 +VERSION="0.20.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="C library for the Public Suffix List" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://rockdaboot.github.io/libpsl/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/rockdaboot/libpsl/releases/download/libpsl-$VERSION/$TARBALL" 1.16 + 1.17 +BUILD_DEPENDS="gettext libidn2-dev libunistring-dev publicsuffix-list" 1.18 +SPLIT="libpsl-dev" 1.19 + 1.20 +compile_rules() { 1.21 + rm -r list # remove outdated list 1.22 + 1.23 + ./configure \ 1.24 + --disable-static \ 1.25 + --with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \ 1.26 + --with-psl-testfile=/usr/share/publicsuffix/test_psl.txt \ 1.27 + $CONFIGURE_ARGS && 1.28 + fix libtool && 1.29 + make && 1.30 + make install 1.31 +} 1.32 + 1.33 +genpkg_rules() { 1.34 + case $PACKAGE in 1.35 + libpsl) 1.36 + copy @std 1.37 + DEPENDS="libidn2 libunistring" 1.38 + ;; 1.39 + *-dev) 1.40 + copy @dev 1.41 + ;; 1.42 + esac 1.43 +}