wok-6.x annotate perl-test-warnings/receipt @ rev 25481
created recipe for py3k-cffi
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 17 07:42:01 2022 +0100 (2022-10-17) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-test-warnings" |
Hans-G?nter@24260 | 4 VERSION="0.031" |
nneul@18450 | 5 CATEGORY="development" |
Hans-G?nter@23404 | 6 SHORT_DESC="Perl extension Test::Warnings." |
nneul@18450 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18450 | 8 LICENSE="GPL" |
Hans-G?nter@24260 | 9 WEB_SITE="https://metacpan.org/pod/Test::Warnings" |
Hans-G?nter@24260 | 10 REPOLOGY="perl:test-warnings" |
Hans-G?nter@23404 | 11 |
nneul@18450 | 12 SOURCE="Test-Warnings" |
nneul@18450 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23404 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" |
nneul@18450 | 15 |
nneul@18450 | 16 DEPENDS="perl" |
Hans-G?nter@24260 | 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@24260 | 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@24260 | 36 cook_copy_folders lib |
nneul@18450 | 37 } |