wok-next view staticperl/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
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 }