wok-next annotate staticperl/receipt @ rev 21247
updated cyrus-imapd (2.4.17 -> 3.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 16:28:27 2019 +0100 (2019-12-05) |
parents | fa61cfb16a25 |
children |
rev | line source |
---|---|
al@20871 | 1 # SliTaz package receipt v2. |
al@20871 | 2 |
al@20871 | 3 PACKAGE="staticperl" |
al@20871 | 4 VERSION="current" |
al@20871 | 5 CATEGORY="meta" |
al@20871 | 6 SHORT_DESC="Perl, libc, 100 modules - all in one self-contained 500kb executable" |
al@20871 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20871 | 8 LICENSE="Perl5" |
al@20871 | 9 WEB_SITE="http://software.schmorp.de/pkg/App-Staticperl.html" |
al@20871 | 10 |
al@20871 | 11 SPLIT="smallperl:small bigperl:big" |
al@20871 | 12 |
al@20871 | 13 compile_rules() { |
al@20871 | 14 mkdir $install |
al@20871 | 15 [ -z "$SET" ] && return |
al@20871 | 16 mkdir -p $src |
al@20871 | 17 cd $src |
al@20871 | 18 |
al@20871 | 19 wget http://staticperl.schmorp.de/${SET}perl.bin |
al@20871 | 20 install -Dm755 ${SET}perl.bin $install/usr/bin/staticperl |
al@20871 | 21 } |
al@20871 | 22 |
al@20871 | 23 genpkg_rules() { |
al@20871 | 24 [ "$PACKAGE" == 'staticperl' ] && return |
al@20871 | 25 copy @std |
al@20871 | 26 CAT="development|${PACKAGE%perl} version" |
al@20871 | 27 DEPENDS=" " |
al@20871 | 28 VERSION=$($install/usr/bin/staticperl -v | sed '/v5/!d; s|.*(v\(5\.[^)]*\)).*|\1|') |
al@20871 | 29 } |