wok annotate perl-cgi-session/receipt @ rev 1661

Add perl-cgi-session
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:50:25 2008 +0000 (2008-11-08)
parents
children 2d12ebd38be4
rev   line source
pascal@1661 1 # SliTaz package receipt.
pascal@1661 2
pascal@1661 3 PACKAGE="perl-cgi-session"
pascal@1661 4 VERSION="3.95"
pascal@1661 5 CATEGORY="development"
pascal@1661 6 SHORT_DESC="CGI::Session module is a Perl extension."
pascal@1661 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1661 8 DEPENDS="perl"
pascal@1661 9 BUILD_DEPENDS="perl"
pascal@1661 10 SOURCE="CGI-Session"
pascal@1661 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1661 12 WEB_SITE="http://cpan.org/"
pascal@1661 13 WGET_URL="http://cpan.org/authors/id/S/SH/SHERZODR/$TARBALL"
pascal@1661 14
pascal@1661 15 # Rules to configure and make the package.
pascal@1661 16 compile_rules()
pascal@1661 17 {
pascal@1661 18 cd $src
pascal@1661 19 perl Makefile.PL &&
pascal@1661 20 make &&
pascal@1661 21 make DESTDIR=$PWD/_pkg install
pascal@1661 22 }
pascal@1661 23
pascal@1661 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1661 25 genpkg_rules()
pascal@1661 26 {
pascal@1661 27 mkdir -p $fs/usr
pascal@1661 28 cp -a $_pkg/usr/lib $fs/usr
pascal@1661 29 }
pascal@1661 30