wok-next view libpsl/receipt @ rev 20875
Fix bastet, cherokee
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 06 12:59:08 2018 +0300 (2018-07-06) |
parents | |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpsl"
4 VERSION="0.20.2"
5 CATEGORY="network"
6 SHORT_DESC="C library for the Public Suffix List"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://rockdaboot.github.io/libpsl/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rockdaboot/libpsl/releases/download/libpsl-$VERSION/$TARBALL"
14 BUILD_DEPENDS="gettext libidn2-dev libunistring-dev publicsuffix-list"
15 SPLIT="libpsl-dev"
17 compile_rules() {
18 rm -r list # remove outdated list
20 ./configure \
21 --disable-static \
22 --with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \
23 --with-psl-testfile=/usr/share/publicsuffix/test_psl.txt \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 libpsl)
33 copy @std
34 DEPENDS="libidn2 libunistring"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }