wok-next annotate perl-locale-gettext/receipt @ rev 15143
Up cromfs (1.5.10.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:33:36 2013 +0000 (2013-08-15) |
parents | d1768332cee0 |
children | 8da249b2c8d7 |
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" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@7403 | 9 DEPENDS="perl gettext-base" |
slaxemulator@7403 | 10 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@7403 | 11 SOURCE="gettext" |
slaxemulator@7403 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7403 | 13 WEB_SITE="http://search.cpan.org/dist/gettext/" |
slaxemulator@7403 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/$TARBALL" |
slaxemulator@7403 | 15 |
slaxemulator@7403 | 16 # Rules to configure and make the package. |
slaxemulator@7403 | 17 compile_rules() |
slaxemulator@7403 | 18 { |
slaxemulator@7403 | 19 cd $src |
slaxemulator@9700 | 20 patch -Np1 -i $stuff/compatibility-with-POSIX-module.patch |
slaxemulator@7403 | 21 perl Makefile.PL |
slaxemulator@7403 | 22 make |
pascal@14702 | 23 make DESTDIR="$DESTDIR" install |
slaxemulator@7403 | 24 } |
slaxemulator@7403 | 25 |
slaxemulator@7403 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7403 | 27 genpkg_rules() |
slaxemulator@7403 | 28 { |
slaxemulator@7403 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
slaxemulator@7403 | 31 find "$fs" -name perllocal.pod -delete |
slaxemulator@7403 | 32 find "$fs" -name .packlist -delete |
slaxemulator@7403 | 33 } |
slaxemulator@7403 | 34 |