wok annotate perl-encode-locale/receipt @ rev 25779

Up fdutils (5.6), lite (1.11), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 09:24:30 2024 +0000 (2 days ago)
parents 15650f5d595b
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@25703 9 WEB_SITE="https://metacpan.org/dist/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@25703 18 # What is the latest version available today?
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
erjo@11834 25 # Rules to configure and make the package.
erjo@11834 26 compile_rules()
erjo@11834 27 {
erjo@11834 28 perl Makefile.PL &&
erjo@11834 29 make &&
erjo@11834 30 make DESTDIR=$DESTDIR install
erjo@11834 31 }
erjo@11834 32
erjo@11834 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@11834 34 genpkg_rules()
erjo@11834 35 {
Hans-G?nter@23320 36 cp -a $install/* $fs
erjo@11834 37 }