wok annotate perl-file-which/receipt @ rev 25293

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