wok-next view libpsl/receipt @ rev 21601

updated drupal (7.26 -> 9.0.1)
author Hans-G?nter Theisgen
date Wed Jun 24 15:13:05 2020 +0100 (2020-06-24)
parents 523cce42deab
children
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-dev libidn2-dev libunistring-dev publicsuffix-list"
15 SPLIT="$PACKAGE-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 }