wok-next view staticperl/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="staticperl"
4 VERSION="current"
5 CATEGORY="meta"
6 SHORT_DESC="Perl, libc, 100 modules - all in one self-contained 500kb executable"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Perl5"
9 WEB_SITE="http://software.schmorp.de/pkg/App-Staticperl.html"
10 HOST_ARCH="i486 x86_64"
12 SPLIT="smallperl:small bigperl:big"
14 compile_rules() {
15 mkdir $install
16 [ -z "$SET" ] && return
17 mkdir -p $src
18 cd $src
20 wget http://staticperl.schmorp.de/${SET}perl.bin
21 install -Dm755 ${SET}perl.bin $install/usr/bin/staticperl
22 }
24 genpkg_rules() {
25 [ "$PACKAGE" == 'staticperl' ] && return
26 copy @std
27 CAT="development|${PACKAGE%perl} version"
28 DEPENDS=" "
29 VERSION=$($install/usr/bin/staticperl -v | sed '/v5/!d; s|.*(v\(5\.[^)]*\)).*|\1|')
30 }