wok-current annotate perl-cgi-session/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents 217797db0ee4
children
rev   line source
pascal@1661 1 # SliTaz package receipt.
pascal@1661 2
pascal@1661 3 PACKAGE="perl-cgi-session"
Hans-G?nter@23296 4 VERSION="4.48"
pascal@1661 5 CATEGORY="development"
Hans-G?nter@23296 6 SHORT_DESC="Perl extension CGI::Session."
pascal@1661 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23296 9 WEB_SITE="https://metacpan.org/release/CGI-Session"
Hans-G?nter@23296 10
Hans-G?nter@23296 11 SOURCE="CGI-Session"
Hans-G?nter@23296 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23296 13 WGET_URL="https://www.cpan.org/modules/by-module/CGI/$TARBALL"
Hans-G?nter@23296 14
pascal@1661 15 DEPENDS="perl"
pascal@1661 16 BUILD_DEPENDS="perl"
pascal@1661 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@1661 24 # Rules to configure and make the package.
pascal@1661 25 compile_rules()
pascal@1661 26 {
pascal@1661 27 perl Makefile.PL &&
pascal@1661 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
pascal@1661 30 }
pascal@1661 31
pascal@1661 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1661 33 genpkg_rules()
pascal@1661 34 {
pascal@1661 35 mkdir -p $fs/usr
Hans-G?nter@23296 36 cp -a $install/usr/lib $fs/usr
pascal@1661 37 }