wok-current annotate perl-file-copy-recursive/receipt @ rev 25434

Up znc (1.8.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 29 10:14:47 2022 +0000 (2022-08-29)
parents 2bbc3ad402d6
children
rev   line source
pascal@20469 1 # SliTaz package receipt.
pascal@20469 2
pascal@20469 3 PACKAGE="perl-file-copy-recursive"
Hans-G?nter@23328 4 VERSION="0.45"
pascal@20469 5 CATEGORY="development"
Hans-G?nter@23328 6 SHORT_DESC="Perl extension File::Copy::Recursive."
pascal@20469 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20469 8 LICENSE="GPL"
Hans-G?nter@23328 9 WEB_SITE="https://metacpan.org/release/File-Copy-Recursive"
Hans-G?nter@23328 10
Hans-G?nter@23328 11 SOURCE="File-Copy-Recursive"
Hans-G?nter@23328 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23328 13 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL"
Hans-G?nter@23328 14
pascal@20469 15 DEPENDS="perl"
pascal@20469 16 BUILD_DEPENDS="perl"
pascal@20469 17
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
pascal@20469 24 # Rules to configure and make the package.
pascal@20469 25 compile_rules()
pascal@20469 26 {
pascal@20469 27 perl Makefile.PL &&
pascal@20469 28 make &&
pascal@20469 29 make DESTDIR=$DESTDIR install
pascal@20469 30 }
pascal@20469 31
pascal@20469 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20469 33 genpkg_rules()
pascal@20469 34 {
pascal@20469 35 mkdir -p $fs/usr
Hans-G?nter@23328 36 cp -a $install/usr/lib $fs/usr
pascal@20469 37 }