wok-next annotate staticperl/receipt @ rev 21613

updated eboard (1.1.1 -> 1.1.3)
author Hans-G?nter Theisgen
date Thu Jun 25 10:33:28 2020 +0100 (2020-06-25)
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 }