wok annotate perl-event/receipt @ rev 24299
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 15 15:21:40 2022 +0000 (2022-01-15) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
pascal@17380 | 1 # SliTaz package receipt. |
pascal@17380 | 2 |
pascal@17380 | 3 PACKAGE="perl-event" |
Hans-G?nter@24202 | 4 VERSION="1.28" |
pascal@17380 | 5 CATEGORY="development" |
Hans-G?nter@23321 | 6 SHORT_DESC="Perl extension Event." |
pascal@17380 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@24202 | 8 LICENSE="GPL" |
Hans-G?nter@24202 | 9 WEB_SITE="https://metacpan.org/pod/Event" |
Hans-G?nter@24202 | 10 REPOLOGY="perl:event" |
Hans-G?nter@23321 | 11 |
pascal@17380 | 12 SOURCE="Event" |
pascal@17380 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23321 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Event/$TARBALL" |
Hans-G?nter@23321 | 15 |
pascal@17380 | 16 SUGGESTED="perl-time-hires" |
pascal@17380 | 17 DEPENDS="perl" |
pascal@17380 | 18 BUILD_DEPENDS="perl" |
pascal@17380 | 19 |
pascal@24102 | 20 current_version() |
pascal@24102 | 21 { |
pascal@24102 | 22 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 23 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 24 } |
pascal@24102 | 25 |
pascal@17380 | 26 # Rules to configure and make the package. |
pascal@17380 | 27 compile_rules() |
pascal@17380 | 28 { |
Hans-G?nter@23321 | 29 perl Makefile.PL && |
Hans-G?nter@23321 | 30 make && |
Hans-G?nter@24202 | 31 make install DESTDIR=$DESTDIR |
pascal@17380 | 32 } |
pascal@17380 | 33 |
pascal@17380 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17380 | 35 genpkg_rules() |
pascal@17380 | 36 { |
Hans-G?nter@24202 | 37 cook_copy_folders lib |
pascal@17380 | 38 } |