wok-next annotate libpsl/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 523cce42deab
children
rev   line source
al@20861 1 # SliTaz package receipt v2.
al@20861 2
al@20861 3 PACKAGE="libpsl"
al@20861 4 VERSION="0.20.2"
al@20861 5 CATEGORY="network"
al@20861 6 SHORT_DESC="C library for the Public Suffix List"
al@20861 7 MAINTAINER="al.bobylev@gmail.com"
al@20861 8 LICENSE="MIT"
al@20861 9 WEB_SITE="https://rockdaboot.github.io/libpsl/"
al@20861 10
al@20861 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20861 12 WGET_URL="https://github.com/rockdaboot/libpsl/releases/download/libpsl-$VERSION/$TARBALL"
al@20861 13
al@21020 14 BUILD_DEPENDS="gettext-dev libidn2-dev libunistring-dev publicsuffix-list"
al@21020 15 SPLIT="$PACKAGE-dev"
al@20861 16
al@20861 17 compile_rules() {
al@20861 18 rm -r list # remove outdated list
al@20861 19
al@20861 20 ./configure \
al@20861 21 --disable-static \
al@20861 22 --with-psl-file=/usr/share/publicsuffix/effective_tld_names.dat \
al@20861 23 --with-psl-testfile=/usr/share/publicsuffix/test_psl.txt \
al@20861 24 $CONFIGURE_ARGS &&
al@20861 25 fix libtool &&
al@20861 26 make &&
al@20861 27 make install
al@20861 28 }
al@20861 29
al@20861 30 genpkg_rules() {
al@20861 31 case $PACKAGE in
al@20861 32 libpsl)
al@20861 33 copy @std
al@20861 34 DEPENDS="libidn2 libunistring"
al@20861 35 ;;
al@20861 36 *-dev)
al@20861 37 copy @dev
al@20861 38 ;;
al@20861 39 esac
al@20861 40 }