wok annotate perl-io-tty/receipt @ rev 24428

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