wok-next view staticperl/receipt @ rev 20891

cookutils: up (1085); syslinux: remove docs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 19 18:27:17 2018 +0300 (2018-07-19)
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 }