# HG changeset patch # User Eric Joseph-Alexandre # Date 1330299405 -3600 # Node ID 5eec7cb548696aa253104d021e68d5569b1516a0 # Parent 8ff7af81a9c4c0aead5c05092aa03669733a5301 Add: perl-digest-md5 diff -r 8ff7af81a9c4 -r 5eec7cb54869 perl-digest-md5/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-digest-md5/receipt Mon Feb 27 00:36:45 2012 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-digest-md5" +VERSION="2.51" +CATEGORY="development" +SHORT_DESC="Digest::MD5 module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Digest-MD5" +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 +} +