wok-next annotate publicsuffix-list/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
rev   line source
al@20861 1 # SliTaz package receipt v2.
al@20861 2
al@20861 3 PACKAGE="publicsuffix-list"
al@20861 4 VERSION="latest"
al@20861 5 CATEGORY="network"
al@20861 6 SHORT_DESC="Public Suffix List"
al@20861 7 MAINTAINER="al.bobylev@gmail.com"
al@20861 8 LICENSE="MPL2"
al@20861 9 WEB_SITE="https://publicsuffix.org/"
al@20861 10
al@20861 11 compile_rules() {
al@20861 12 mkdir -p $src
al@20861 13 cd $src
al@20861 14 wget https://github.com/publicsuffix/list/archive/master.tar.gz
al@20861 15 tar -xf master.tar.gz || return 1
al@20861 16 cd list-master
al@20861 17
al@20861 18 mkdir -p $install/usr/share/publicsuffix/
al@20861 19 cp public_suffix_list.dat tests/test_psl.txt \
al@20861 20 $install/usr/share/publicsuffix/
al@20861 21 ln -s public_suffix_list.dat \
al@20861 22 $install/usr/share/publicsuffix/effective_tld_names.dat
al@20861 23
al@20861 24 cook_pick_docs README.md
al@20861 25 }
al@20861 26
al@20861 27 genpkg_rules() {
al@20861 28 VERSION="$(date -u -r $src/list-master/public_suffix_list.dat +%Y%m%d-%H%M)"
al@20861 29 copy @std
al@20861 30 }