wok annotate perl-locale-gettext/receipt @ rev 14687

terminology: Up to 0.3.0-3
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:23 2013 +0200 (2013-06-06)
parents 2cb43f0174fb
children 2d12ebd38be4
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@9700 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