wok-current annotate perl-io/receipt @ rev 25530
Up perl-io (1.51)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 09:07:28 2023 +0000 (23 months ago) |
parents | 35736c64d4ad |
children |
rev | line source |
---|---|
pascal@20471 | 1 # SliTaz package receipt. |
pascal@20471 | 2 |
pascal@20471 | 3 PACKAGE="perl-io" |
pascal@25530 | 4 VERSION="1.51" |
pascal@20471 | 5 CATEGORY="development" |
Hans-G?nter@23347 | 6 SHORT_DESC="Perl extension IO." |
pascal@20471 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20471 | 8 LICENSE="GPL" |
Hans-G?nter@24221 | 9 WEB_SITE="https://metacpan.org/pod/IO" |
Hans-G?nter@24221 | 10 REPOLOGY="perl:io" |
Hans-G?nter@23347 | 11 |
Hans-G?nter@23347 | 12 SOURCE="IO" |
Hans-G?nter@23347 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@25530 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/T/TO/TODDR/$TARBALL" |
Hans-G?nter@23347 | 15 |
pascal@20471 | 16 DEPENDS="perl" |
pascal@20471 | 17 BUILD_DEPENDS="perl" |
pascal@20471 | 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@20471 | 25 # Rules to configure and make the package. |
pascal@20471 | 26 compile_rules() |
pascal@20471 | 27 { |
pascal@20471 | 28 perl Makefile.PL && |
pascal@20471 | 29 make && |
Hans-G?nter@24221 | 30 make install DESTDIR=$DESTDIR |
pascal@20471 | 31 } |
pascal@20471 | 32 |
pascal@20471 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20471 | 34 genpkg_rules() |
pascal@20471 | 35 { |
Hans-G?nter@24221 | 36 cook_copy_folders lib |
pascal@20471 | 37 } |