# HG changeset patch # User Pascal Bellard # Date 1229937131 0 # Node ID d970f98240405cfe9bac23de34f9b61facda2b33 # Parent 0b800967f060726aa7936ac6e16bae57749ec6bb Add perl-unicode-string diff -r 0b800967f060 -r d970f9824040 perl-unicode-string/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-unicode-string/receipt Mon Dec 22 09:12:11 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-unicode-string" +VERSION="2.09" +CATEGORY="development" +SHORT_DESC="Unicode::String module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Unicode-String" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + 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 +} +