wok-6.x annotate perl-test-simple/receipt @ rev 24749
cairo: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:06:35 2022 +0100 (2022-03-16) |
parents | 15650f5d595b |
children |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-test-simple" |
Hans-G?nter@24259 | 4 VERSION="1.302188" |
nneul@18450 | 5 CATEGORY="development" |
Hans-G?nter@23403 | 6 SHORT_DESC="Perl extension Test::Simple." |
nneul@18450 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18450 | 8 LICENSE="GPL" |
Hans-G?nter@24259 | 9 WEB_SITE="https://metacpan.org/pod/Test::Simple" |
Hans-G?nter@24259 | 10 REPOLOGY="perl:test-simple" |
Hans-G?nter@23403 | 11 |
nneul@18450 | 12 SOURCE="Test-Simple" |
nneul@18450 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23403 | 14 WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" |
nneul@18450 | 15 |
nneul@18450 | 16 DEPENDS="perl" |
nneul@18450 | 17 BUILD_DEPENDS="$DEPENDS" |
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@24259 | 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@24259 | 36 cook_copy_folders lib |
nneul@18450 | 37 } |