wok-stable view perl-locale-gettext/receipt @ rev 9714

glibc: like GCC also need gawk
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 23:33:17 2011 +0200 (2011-05-08)
parents 2cb43f0174fb
children
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 DEPENDS="perl gettext-base"
9 BUILD_DEPENDS="$DEPENDS"
10 SOURCE="gettext"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://search.cpan.org/dist/gettext/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i $stuff/compatibility-with-POSIX-module.patch
20 perl Makefile.PL
21 make
22 make DESTDIR="$PWD/_pkg" install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 find "$fs" -name perllocal.pod -delete
31 find "$fs" -name .packlist -delete
32 }