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