wok-current annotate perl-encode-locale/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents 825a450e0b4e
children
rev   line source
erjo@11834 1 # SliTaz package receipt.
erjo@11834 2
erjo@11834 3 PACKAGE="perl-encode-locale"
Hans-G?nter@23320 4 VERSION="1.05"
erjo@11834 5 CATEGORY="development"
Hans-G?nter@23320 6 SHORT_DESC="Perl extension - Determine the locale encoding."
slaxemulator@11839 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
pascal@20671 9 WEB_SITE="https://metacpan.org/release/Encode-Locale"
Hans-G?nter@23320 10
erjo@11834 11 SOURCE="Encode-Locale"
erjo@11834 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23320 13 WGET_URL="https://cpan.metacpan.org/authors/id/G/GA/GAAS/$TARBALL"
slaxemulator@11839 14
slaxemulator@11839 15 DEPENDS="perl"
slaxemulator@11839 16 BUILD_DEPENDS="perl"
erjo@11834 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
erjo@11834 24 # Rules to configure and make the package.
erjo@11834 25 compile_rules()
erjo@11834 26 {
erjo@11834 27 perl Makefile.PL &&
erjo@11834 28 make &&
erjo@11834 29 make DESTDIR=$DESTDIR install
erjo@11834 30 }
erjo@11834 31
erjo@11834 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11834 33 genpkg_rules()
erjo@11834 34 {
Hans-G?nter@23320 35 cp -a $install/* $fs
erjo@11834 36 }