wok-6.x annotate perl-file-slurp/receipt @ rev 25342
Down python-bcrypt: last version supporting python < 3.6
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 24 17:10:41 2022 +0000 (2022-07-24) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
slaxemulator@9298 | 1 # SliTaz package receipt. |
slaxemulator@9298 | 2 |
slaxemulator@9298 | 3 PACKAGE="perl-file-slurp" |
Hans-G?nter@24212 | 4 VERSION="9999.32" |
slaxemulator@9298 | 5 CATEGORY="development" |
Hans-G?nter@23332 | 6 SHORT_DESC="Perl extension File::Slurp." |
slaxemulator@9298 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24212 | 9 WEB_SITE="https://metacpan.org/pod/File::Slurp" |
Hans-G?nter@24212 | 10 REPOLOGY="perl:file-slurp" |
Hans-G?nter@23332 | 11 |
Hans-G?nter@23332 | 12 SOURCE="File-Slurp" |
Hans-G?nter@23332 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23332 | 14 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" |
Hans-G?nter@23332 | 15 |
slaxemulator@9298 | 16 DEPENDS="perl" |
slaxemulator@9298 | 17 BUILD_DEPENDS="perl" |
slaxemulator@9298 | 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 |
slaxemulator@9298 | 25 # Rules to configure and make the package. |
slaxemulator@9298 | 26 compile_rules() |
slaxemulator@9298 | 27 { |
slaxemulator@9298 | 28 perl Makefile.PL && |
slaxemulator@9298 | 29 make && |
Hans-G?nter@24212 | 30 make install DESTDIR=$DESTDIR |
slaxemulator@9298 | 31 } |
slaxemulator@9298 | 32 |
slaxemulator@9298 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9298 | 34 genpkg_rules() |
slaxemulator@9298 | 35 { |
Hans-G?nter@24212 | 36 cook_copy_folders lib |
slaxemulator@9298 | 37 } |