# HG changeset patch # User Christopher Rogers # Date 1290880043 0 # Node ID 2cb43f0174fb798073c0dfb93dfb00a9863e7b04 # Parent fc03cca5d3882b5bf3bd1a606a0bc675408e1fd2 Add perl-locale-gettext. Needed for frozen-bubble. diff -r fc03cca5d388 -r 2cb43f0174fb perl-locale-gettext/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-locale-gettext/receipt Sat Nov 27 17:47:23 2010 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="perl-locale-gettext" +VERSION="1.05" +CATEGORY="development" +SHORT_DESC="Permits access from Perl to the gettext() family of functions." +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="perl gettext-base" +BUILD_DEPENDS="$DEPENDS" +SOURCE="gettext" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/dist/gettext/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + patch -Np1 -i ../stuff/compatibility-with-POSIX-module.patch + perl Makefile.PL + make + make DESTDIR="$PWD/_pkg" install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr + find "$fs" -name perllocal.pod -delete + find "$fs" -name .packlist -delete +} +