wok-4.x annotate perl-locale-gettext/receipt @ rev 8017
up: libexo* (0.6.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 20 02:13:23 2011 +0100 (2011-01-20) |
parents | |
children | d1768332cee0 |
rev | line source |
---|---|
slaxemulator@7403 | 1 # SliTaz package receipt. |
slaxemulator@7403 | 2 |
slaxemulator@7403 | 3 PACKAGE="perl-locale-gettext" |
slaxemulator@7403 | 4 VERSION="1.05" |
slaxemulator@7403 | 5 CATEGORY="development" |
slaxemulator@7403 | 6 SHORT_DESC="Permits access from Perl to the gettext() family of functions." |
slaxemulator@7403 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7403 | 8 DEPENDS="perl gettext-base" |
slaxemulator@7403 | 9 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@7403 | 10 SOURCE="gettext" |
slaxemulator@7403 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7403 | 12 WEB_SITE="http://search.cpan.org/dist/gettext/" |
slaxemulator@7403 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/$TARBALL" |
slaxemulator@7403 | 14 |
slaxemulator@7403 | 15 # Rules to configure and make the package. |
slaxemulator@7403 | 16 compile_rules() |
slaxemulator@7403 | 17 { |
slaxemulator@7403 | 18 cd $src |
slaxemulator@7403 | 19 patch -Np1 -i ../stuff/compatibility-with-POSIX-module.patch |
slaxemulator@7403 | 20 perl Makefile.PL |
slaxemulator@7403 | 21 make |
slaxemulator@7403 | 22 make DESTDIR="$PWD/_pkg" install |
slaxemulator@7403 | 23 } |
slaxemulator@7403 | 24 |
slaxemulator@7403 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7403 | 26 genpkg_rules() |
slaxemulator@7403 | 27 { |
slaxemulator@7403 | 28 mkdir -p $fs/usr |
slaxemulator@7403 | 29 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@7403 | 30 find "$fs" -name perllocal.pod -delete |
slaxemulator@7403 | 31 find "$fs" -name .packlist -delete |
slaxemulator@7403 | 32 } |
slaxemulator@7403 | 33 |