wok-current annotate perl-cgi-session/receipt @ rev 17926
Up to latest: slitaz-tools, tazinst-gui, tazinst, tazpanel, tazpkg.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 11 16:51:21 2015 +0300 (2015-04-11) |
parents | eea97448d91e |
children | 217797db0ee4 |
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@14702 | 8 LICENSE="GPL" |
pascal@1661 | 9 DEPENDS="perl" |
pascal@1661 | 10 BUILD_DEPENDS="perl" |
pascal@1661 | 11 SOURCE="CGI-Session" |
pascal@1661 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1661 | 13 WEB_SITE="http://cpan.org/" |
pascal@1661 | 14 WGET_URL="http://cpan.org/authors/id/S/SH/SHERZODR/$TARBALL" |
pascal@1661 | 15 |
pascal@1661 | 16 # Rules to configure and make the package. |
pascal@1661 | 17 compile_rules() |
pascal@1661 | 18 { |
pascal@1661 | 19 cd $src |
pascal@1661 | 20 perl Makefile.PL && |
pascal@1661 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1661 | 23 } |
pascal@1661 | 24 |
pascal@1661 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1661 | 26 genpkg_rules() |
pascal@1661 | 27 { |
pascal@1661 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1661 | 30 } |
pascal@1661 | 31 |