wok-stable view perl-locale-gettext/receipt @ rev 9931
dega: fix bdeps
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 17 23:46:33 2011 +0200 (2011-05-17) |
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 }