wok view perl-locale-gettext/receipt @ rev 11689
ntop: update bdep
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 17:18:01 2012 +0100 (2012-02-18) |
parents | 2cb43f0174fb |
children | 2d12ebd38be4 |
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 }