wok-next view publicsuffix-list/receipt @ rev 21057

Deal with HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 03 14:47:30 2018 +0200 (2018-12-03)
parents
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="publicsuffix-list"
4 VERSION="latest"
5 CATEGORY="network"
6 SHORT_DESC="Public Suffix List"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MPL2"
9 WEB_SITE="https://publicsuffix.org/"
11 compile_rules() {
12 mkdir -p $src
13 cd $src
14 wget https://github.com/publicsuffix/list/archive/master.tar.gz
15 tar -xf master.tar.gz || return 1
16 cd list-master
18 mkdir -p $install/usr/share/publicsuffix/
19 cp public_suffix_list.dat tests/test_psl.txt \
20 $install/usr/share/publicsuffix/
21 ln -s public_suffix_list.dat \
22 $install/usr/share/publicsuffix/effective_tld_names.dat
24 cook_pick_docs README.md
25 }
27 genpkg_rules() {
28 VERSION="$(date -u -r $src/list-master/public_suffix_list.dat +%Y%m%d-%H%M)"
29 copy @std
30 }