wok-6.x view perl-locale-gettext/receipt @ rev 8530

Fixed libwebkit to not need src varible folder. Moved GtkLanucher to DESTDIR/usr/bin in compile_rules so we can save 300mb on tank.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 13 01:40:21 2011 +0000 (2011-02-13)
parents
children d1768332cee0
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 }