wok-6.x annotate perl-try-tiny/receipt @ rev 25208
updated python-numpy (1.16.4 -> 1.16.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:56:01 2022 +0100 (2022-07-13) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-try-tiny" |
Hans-G?nter@24265 | 4 VERSION="0.31" |
nneul@18450 | 5 CATEGORY="development" |
Hans-G?nter@23409 | 6 SHORT_DESC="Perl extension Try::Tiny." |
nneul@18450 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18450 | 8 LICENSE="GPL" |
Hans-G?nter@24265 | 9 WEB_SITE="https://metacpan.org/pod/Try::Tiny" |
Hans-G?nter@24265 | 10 REPOLOGY="perl:try-tiny" |
Hans-G?nter@23409 | 11 |
nneul@18450 | 12 SOURCE="Try-Tiny" |
nneul@18450 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23409 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL" |
nneul@18450 | 15 |
nneul@18450 | 16 DEPENDS="perl" |
Hans-G?nter@24265 | 17 BUILD_DEPENDS="perl" |
nneul@18450 | 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 |
nneul@18450 | 25 # Rules to configure and make the package. |
nneul@18450 | 26 compile_rules() |
nneul@18450 | 27 { |
nneul@18450 | 28 perl Makefile.PL && |
nneul@18450 | 29 make && |
Hans-G?nter@24265 | 30 make install DESTDIR=$DESTDIR |
nneul@18450 | 31 } |
nneul@18450 | 32 |
nneul@18450 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 34 genpkg_rules() |
nneul@18450 | 35 { |
Hans-G?nter@24265 | 36 cook_copy_folders lib |
nneul@18450 | 37 } |