# HG changeset patch # User Eric Joseph-Alexandre # Date 1330299425 -3600 # Node ID 5f2d9069cc948462f2fd47d9386da4f85d908e88 # Parent 5eec7cb548696aa253104d021e68d5569b1516a0 Add: perl-ecnode-locale diff -r 5eec7cb54869 -r 5f2d9069cc94 perl-encode-locale/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-encode-locale/receipt Mon Feb 27 00:37:05 2012 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-encode-locale" +VERSION="1.03" +CATEGORY="development" +SHORT_DESC="Determine the locale encoding" +MAINTAINER="erjo@slitaz.org" +DEPENDS="" +BUILD_DEPENDS="perl $DEPENDS" +SOURCE="Encode-Locale" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://search.cpan.org/~gaas/HTTP-Message-6.03/" +WGET_URL="http://www.cpan.org/authors/id/G/GA/GAAS/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib $fs/usr +}