wok-next view staticperl/receipt @ rev 21159
updated diffutils (3.6 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 08:46:59 2019 +0100 (2019-02-20) |
parents | fa61cfb16a25 |
children |
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"
11 SPLIT="smallperl:small bigperl:big"
13 compile_rules() {
14 mkdir $install
15 [ -z "$SET" ] && return
16 mkdir -p $src
17 cd $src
19 wget http://staticperl.schmorp.de/${SET}perl.bin
20 install -Dm755 ${SET}perl.bin $install/usr/bin/staticperl
21 }
23 genpkg_rules() {
24 [ "$PACKAGE" == 'staticperl' ] && return
25 copy @std
26 CAT="development|${PACKAGE%perl} version"
27 DEPENDS=" "
28 VERSION=$($install/usr/bin/staticperl -v | sed '/v5/!d; s|.*(v\(5\.[^)]*\)).*|\1|')
29 }