wok-next annotate perl-getopt-long/receipt @ rev 14772
Add some TAZPANEL_DAEMON
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 30 09:55:32 2013 +0200 (2013-06-30) |
parents | 69a870be03d3 |
children |
rev | line source |
---|---|
pascal@1616 | 1 # SliTaz package receipt. |
pascal@1616 | 2 |
pascal@1616 | 3 PACKAGE="perl-getopt-long" |
pascal@1616 | 4 VERSION="2.37" |
pascal@1616 | 5 CATEGORY="development" |
pascal@1616 | 6 SHORT_DESC="Getopt::Long module is a Perl extension." |
pascal@1616 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1616 | 9 DEPENDS="perl" |
pascal@1616 | 10 BUILD_DEPENDS="perl" |
pascal@1616 | 11 SOURCE="Getopt-Long" |
pascal@1616 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1616 | 13 WEB_SITE="http://cpan.org/" |
pascal@1616 | 14 WGET_URL="http://cpan.org/authors/id/J/JV/JV/$TARBALL" |
pascal@1616 | 15 |
pascal@1616 | 16 # Rules to configure and make the package. |
pascal@1616 | 17 compile_rules() |
pascal@1616 | 18 { |
pascal@1616 | 19 cd $src |
pascal@1616 | 20 perl Makefile.PL && |
pascal@1616 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1616 | 23 } |
pascal@1616 | 24 |
pascal@1616 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1616 | 26 genpkg_rules() |
pascal@1616 | 27 { |
pascal@1616 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1616 | 30 } |
pascal@1616 | 31 |