wok-next view staticperl/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 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 }