wok annotate perl-module-runtime/receipt @ rev 24534
updated faac and faac-dev (1.29.9.2 -> 1.30)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 11:28:45 2022 +0100 (2022-02-23) |
parents | 81986d9b72b1 |
children | 0af8df0b46fc |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-module-runtime" |
Hans-G?nter@23372 | 4 VERSION="0.016" |
nneul@18450 | 5 CATEGORY="development" |
Hans-G?nter@23372 | 6 SHORT_DESC="Perl extension Module::Runtime." |
nneul@18450 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18450 | 8 LICENSE="GPL" |
pascal@20671 | 9 WEB_SITE="https://metacpan.org/release/Module-Runtime" |
Hans-G?nter@23372 | 10 |
nneul@18450 | 11 SOURCE="Module-Runtime" |
nneul@18450 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23372 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Module/$TARBALL" |
nneul@18450 | 14 |
nneul@18450 | 15 DEPENDS="perl" |
nneul@18450 | 16 BUILD_DEPENDS="$DEPENDS" |
nneul@18450 | 17 |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
nneul@18450 | 24 # Rules to configure and make the package. |
nneul@18450 | 25 compile_rules() |
nneul@18450 | 26 { |
nneul@18450 | 27 perl Makefile.PL && |
nneul@18450 | 28 make && |
nneul@18450 | 29 make DESTDIR=$DESTDIR install |
nneul@18450 | 30 } |
nneul@18450 | 31 |
nneul@18450 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 33 genpkg_rules() |
nneul@18450 | 34 { |
Hans-G?nter@23372 | 35 cp -a $install/usr $fs |
nneul@18450 | 36 } |