# HG changeset patch # User Christophe Lincoln # Date 1242598134 -7200 # Node ID 3899d9ae79b7eb200ac0b0e75c24a0300ba41831 # Parent bd3650c769d9a64f95903f646a717a423e5ad01c Add perl-archive-zip diff -r bd3650c769d9 -r 3899d9ae79b7 perl-archive-zip/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-archive-zip/receipt Mon May 18 00:08:54 2009 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-archive-zip" +VERSION="1.20" +CATEGORY="development" +SHORT_DESC="Archive Zip module for Perl." +MAINTAINER="pankso@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="Archive-Zip" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://cpan.org/authors/id/A/AD/ADAMK/$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 +} +