# HG changeset patch # User Pascal Bellard # Date 1226152225 0 # Node ID eea97448d91e8ca588d5da564676fc6d62fda23e # Parent 91012d333151f4757ec416adf7e1561600c86d9e Add perl-cgi-session diff -r 91012d333151 -r eea97448d91e perl-cgi-session/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-cgi-session/receipt Sat Nov 08 13:50:25 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-cgi-session" +VERSION="3.95" +CATEGORY="development" +SHORT_DESC="CGI::Session module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="CGI-Session" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://cpan.org/authors/id/S/SH/SHERZODR/$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 +} +