wok annotate perl-class-accessor/receipt @ rev 25321

updated sqlobject (3.8.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Fri Jul 22 07:45:13 2022 +0100 (2022-07-22)
parents 964e343cc102
children 0af8df0b46fc
rev   line source
slaxemulator@8746 1 # SliTaz package receipt.
slaxemulator@8746 2
slaxemulator@8746 3 PACKAGE="perl-class-accessor"
Hans-G?nter@23297 4 VERSION="0.51"
slaxemulator@8746 5 CATEGORY="development"
Hans-G?nter@23297 6 SHORT_DESC="Perl extension Class::Accessor Automated accessor generation."
slaxemulator@8746 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23297 9 WEB_SITE="https://metacpan.org/release/Class-Accessor/"
Hans-G?nter@23297 10
slaxemulator@8746 11 SOURCE="Class-Accessor"
slaxemulator@8746 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23297 13 WGET_URL="https://www.cpan.org/modules/by-module/Class/$TARBALL"
slaxemulator@8746 14
pascal@17741 15 DEPENDS="perl"
pascal@17741 16 BUILD_DEPENDS="perl"
pascal@17741 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
slaxemulator@8746 24 # Rules to configure and make the package.
slaxemulator@8746 25 compile_rules()
slaxemulator@8746 26 {
slaxemulator@8746 27 perl Makefile.PL &&
slaxemulator@8746 28 make &&
slaxemulator@8746 29 make DESTDIR=$DESTDIR install
slaxemulator@8746 30 }
slaxemulator@8746 31
slaxemulator@8746 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8746 33 genpkg_rules()
slaxemulator@8746 34 {
slaxemulator@8746 35 mkdir -p $fs/usr
Hans-G?nter@23297 36 cp -a $install/usr/lib $fs/usr
slaxemulator@8746 37 }