# HG changeset patch # User Pascal Bellard # Date 1243690450 -7200 # Node ID 9a5054d0078e7da77e3ccf1f4392bcd259dc8fc4 # Parent 66d6688657feddfcb13101cd5edde48644c68dd3 Add perl-crypt-des diff -r 66d6688657fe -r 9a5054d0078e perl-crypt-des/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-crypt-des/receipt Sat May 30 15:34:10 2009 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-crypt-des" +VERSION="2.05" +CATEGORY="development" +SHORT_DESC="Crypt::DES module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Crypt-DES" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://cpan.org/authors/id/D/DP/DPARIS/$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 +} +