wok view perl-locale-gettext/receipt @ rev 17869
Use VERSION variable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 09:34:19 2015 +0100 (2015-03-26) |
parents | d1768332cee0 |
children | 6e8b1bcb30e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-locale-gettext"
4 VERSION="1.05"
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 DEPENDS="perl gettext-base"
10 BUILD_DEPENDS="$DEPENDS"
11 SOURCE="gettext"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://search.cpan.org/dist/gettext/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 -i $stuff/compatibility-with-POSIX-module.patch
21 perl Makefile.PL
22 make
23 make DESTDIR="$DESTDIR" install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 find "$fs" -name perllocal.pod -delete
32 find "$fs" -name .packlist -delete
33 }