wok view perl-locale-gettext/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months ago)
parents 15650f5d595b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-locale-gettext"
4 VERSION="1.07"
5 CATEGORY="development"
6 SHORT_DESC="Permits access from Perl to the gettext() family of functions."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/dist/Locale-gettext"
11 SOURCE="gettext"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/P/PV/PVANDRY/$TARBALL"
15 DEPENDS="gettext-base perl"
16 BUILD_DEPENDS="$DEPENDS"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # included in 1.07
29 # patch -Np1 -i $stuff/compatibility-with-POSIX-module.patch
31 perl Makefile.PL &&
32 make &&
33 make DESTDIR="$DESTDIR" install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/lib $fs/usr
42 find "$fs" -name perllocal.pod -delete
43 find "$fs" -name .packlist -delete
44 }