wok view perl-locale-gettext/receipt @ rev 25322
cpige: remove -static
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 07:58:08 2022 +0000 (2022-07-22) |
parents | aad106864a1c |
children | bff339676249 |
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/release/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 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # included in 1.07
28 # patch -Np1 -i $stuff/compatibility-with-POSIX-module.patch
30 perl Makefile.PL &&
31 make &&
32 make DESTDIR="$DESTDIR" install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
41 find "$fs" -name perllocal.pod -delete
42 find "$fs" -name .packlist -delete
43 }