wok annotate perl-date-manip/receipt @ rev 25055

linux: disable Realtek RTL8723AU Wireless LAN NIC driver
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 09:43:10 2022 +0000 (2022-06-06)
parents 15650f5d595b
children d2b97b580e23
rev   line source
slaxemulator@9306 1 # SliTaz package receipt.
slaxemulator@9306 2
slaxemulator@9306 3 PACKAGE="perl-date-manip"
Hans-G?nter@24192 4 VERSION="6.86"
slaxemulator@9306 5 CATEGORY="development"
Hans-G?nter@23308 6 SHORT_DESC="Perl extension Date::Manip."
slaxemulator@9306 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24192 9 WEB_SITE="https://metacpan.org/pod/Date::Manip"
Hans-G?nter@24192 10 REPOLOGY="perl:date-manip"
Hans-G?nter@23308 11
slaxemulator@9306 12 SOURCE="Date-Manip"
slaxemulator@9306 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23308 14 WGET_URL="https://www.cpan.org/modules/by-module/Date/$TARBALL"
Hans-G?nter@23308 15
Hans-G?nter@23308 16 DEPENDS="perl perl-yaml-syck"
Hans-G?nter@23308 17 BUILD_DEPENDS="perl perl-extutils-makemaker perl-yaml-syck"
slaxemulator@9306 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
slaxemulator@9306 25 # Rules to configure and make the package.
slaxemulator@9306 26 compile_rules()
slaxemulator@9306 27 {
slaxemulator@9306 28 perl Makefile.PL &&
slaxemulator@9306 29 make &&
Hans-G?nter@24192 30 make install DESTDIR=$DESTDIR
slaxemulator@9306 31 }
slaxemulator@9306 32
slaxemulator@9306 33 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9306 34 genpkg_rules()
slaxemulator@9306 35 {
Hans-G?nter@24192 36 cook_copy_folders lib
slaxemulator@9306 37 }