wok-6.x annotate perl-getopt-long/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
parents 15650f5d595b
children
rev   line source
pascal@1616 1 # SliTaz package receipt.
pascal@1616 2
pascal@1616 3 PACKAGE="perl-getopt-long"
Hans-G?nter@24214 4 VERSION="2.52"
pascal@1616 5 CATEGORY="development"
Hans-G?nter@23337 6 SHORT_DESC="Perl extension Getopt::Long."
pascal@1616 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24214 9 WEB_SITE="https://metacpan.org/pod/Getopt::Long"
Hans-G?nter@24214 10 REPOLOGY="perl:getopt-long"
Hans-G?nter@23337 11
Hans-G?nter@23337 12 SOURCE="Getopt-Long"
Hans-G?nter@23337 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24214 14 WGET_URL="https://www.cpan.org/modules/by-module/Getopt/$TARBALL"
Hans-G?nter@23337 15
pascal@1616 16 DEPENDS="perl"
pascal@1616 17 BUILD_DEPENDS="perl"
pascal@1616 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
pascal@1616 25 # Rules to configure and make the package.
pascal@1616 26 compile_rules()
pascal@1616 27 {
pascal@1616 28 perl Makefile.PL &&
pascal@1616 29 make &&
Hans-G?nter@24214 30 make install DESTDIR=$DESTDIR
pascal@1616 31 }
pascal@1616 32
pascal@1616 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1616 34 genpkg_rules()
pascal@1616 35 {
Hans-G?nter@24214 36 cook_copy_folders lib
pascal@1616 37 }