wok-6.x annotate perl-io/receipt @ rev 25292

updated rubberband (2.0.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Tue Jul 19 10:19:50 2022 +0100 (2022-07-19)
parents 15650f5d595b
children 000946205748
rev   line source
pascal@20471 1 # SliTaz package receipt.
pascal@20471 2
pascal@20471 3 PACKAGE="perl-io"
Hans-G?nter@24221 4 VERSION="1.48"
pascal@20471 5 CATEGORY="development"
Hans-G?nter@23347 6 SHORT_DESC="Perl extension IO."
pascal@20471 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20471 8 LICENSE="GPL"
Hans-G?nter@24221 9 WEB_SITE="https://metacpan.org/pod/IO"
Hans-G?nter@24221 10 REPOLOGY="perl:io"
Hans-G?nter@23347 11
Hans-G?nter@23347 12 SOURCE="IO"
Hans-G?nter@23347 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24221 14 WGET_URL="https://www.cpan.org/modules/by-module/IO/$TARBALL"
Hans-G?nter@23347 15
pascal@20471 16 DEPENDS="perl"
pascal@20471 17 BUILD_DEPENDS="perl"
pascal@20471 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
pascal@20471 25 # Rules to configure and make the package.
pascal@20471 26 compile_rules()
pascal@20471 27 {
pascal@20471 28 perl Makefile.PL &&
pascal@20471 29 make &&
Hans-G?nter@24221 30 make install DESTDIR=$DESTDIR
pascal@20471 31 }
pascal@20471 32
pascal@20471 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20471 34 genpkg_rules()
pascal@20471 35 {
Hans-G?nter@24221 36 cook_copy_folders lib
pascal@20471 37 }