wok-current annotate perl-super/receipt @ rev 24269
updated perl-xml-rss (1.61 -> 1.62)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:37:59 2022 +0100 (2022-01-02) |
parents | 73b741ce9402 |
children |
rev | line source |
---|---|
pascal@20470 | 1 # SliTaz package receipt. |
pascal@20470 | 2 |
pascal@20470 | 3 PACKAGE="perl-super" |
Hans-G?nter@23391 | 4 VERSION="1.20190531" |
pascal@20470 | 5 CATEGORY="development" |
Hans-G?nter@23391 | 6 SHORT_DESC="Perl extension SUPER." |
pascal@20470 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20470 | 8 LICENSE="GPL" |
Hans-G?nter@23391 | 9 WEB_SITE="https://metacpan.org/release/SUPER" |
Hans-G?nter@23391 | 10 |
Hans-G?nter@23391 | 11 SOURCE="SUPER" |
Hans-G?nter@23391 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23391 | 13 WGET_URL="https://www.cpan.org/modules/by-module/SUPER/$TARBALL" |
Hans-G?nter@23391 | 14 |
pascal@20470 | 15 DEPENDS="perl" |
pascal@20470 | 16 BUILD_DEPENDS="$DEPENDS" |
pascal@20470 | 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 |
pascal@20470 | 24 # Rules to configure and make the package. |
pascal@20470 | 25 compile_rules() |
pascal@20470 | 26 { |
pascal@20470 | 27 perl Makefile.PL && |
pascal@20470 | 28 make && |
pascal@20470 | 29 make DESTDIR=$DESTDIR install |
pascal@20470 | 30 } |
pascal@20470 | 31 |
pascal@20470 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20470 | 33 genpkg_rules() |
pascal@20470 | 34 { |
pascal@20470 | 35 mkdir -p $fs/usr |
Hans-G?nter@23391 | 36 cp -a $install/usr/lib $fs/usr |
pascal@20470 | 37 } |