wok annotate perl-io-scalar/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | ca4a422cce07 |
children | b27d8c263cba |
rev | line source |
---|---|
pascal@1672 | 1 # SliTaz package receipt. |
pascal@1672 | 2 |
pascal@1672 | 3 PACKAGE="perl-io-scalar" |
Hans-G?nter@24223 | 4 VERSION="2.113" |
pascal@1672 | 5 CATEGORY="development" |
pascal@1672 | 6 SHORT_DESC="IO::Scalar module is a Perl extension." |
pascal@1672 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@24223 | 9 WEB_SITE="https://metacpan.org/pod/IO::Stringy" |
Hans-G?nter@24223 | 10 REPOLOGY="perl:io-stringy" |
Hans-G?nter@24223 | 11 SOURCE="IO-Stringy" |
Hans-G?nter@24223 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24223 | 13 WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL" |
pascal@1672 | 14 DEPENDS="perl" |
pascal@1672 | 15 BUILD_DEPENDS="perl" |
pascal@1672 | 16 |
pascal@24103 | 17 current_version() |
pascal@24103 | 18 { |
pascal@24103 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 21 } |
pascal@24103 | 22 |
pascal@1672 | 23 # Rules to configure and make the package. |
pascal@1672 | 24 compile_rules() |
pascal@1672 | 25 { |
pascal@1672 | 26 perl Makefile.PL && |
pascal@1672 | 27 make && |
Hans-G?nter@24223 | 28 make install DESTDIR=$DESTDIR |
pascal@1672 | 29 } |
pascal@1672 | 30 |
pascal@1672 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1672 | 32 genpkg_rules() |
pascal@1672 | 33 { |
Hans-G?nter@24223 | 34 cook_copy_folders lib |
pascal@1672 | 35 } |