wok-6.x annotate perl-lchown/receipt @ rev 24541

kfilemetadata: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 23 17:37:38 2022 +0000 (2022-02-23)
parents 20661c276bcf
children e717a4953b0e
rev   line source
pascal@14281 1 # SliTaz package receipt.
pascal@14281 2
pascal@14281 3 PACKAGE="perl-lchown"
pascal@14281 4 VERSION="1.01"
pascal@14281 5 CATEGORY="development"
pascal@14281 6 SHORT_DESC="Lchown module is a Perl extension."
pascal@14281 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@14281 9 SOURCE="Lchown"
pascal@14281 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24103 11 WEB_SITE="https://metacpan.org/dist/Lchown"
pascal@20682 12 WGET_URL="https://metacpan.org/CPAN/authors/id/N/NC/NCLEATON/$TARBALL"
pascal@14281 13
pascal@14282 14 DEPENDS="perl"
pascal@14282 15 BUILD_DEPENDS="perl"
pascal@14281 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@14281 23 # Rules to configure and make the package.
pascal@14281 24 compile_rules()
pascal@14281 25 {
pascal@14281 26 cd $src
pascal@14281 27 perl Makefile.PL &&
pascal@14281 28 make &&
pascal@14281 29 make DESTDIR=$DESTDIR install
pascal@14281 30 }
pascal@14281 31
pascal@14281 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14281 33 genpkg_rules()
pascal@14281 34 {
pascal@14281 35 mkdir -p $fs/usr
pascal@14281 36 cp -a $install/usr/lib $fs/usr
pascal@14281 37 }
pascal@14281 38