wok-6.x annotate perl-getopt-long/receipt @ rev 18641
Up tazpkg(877)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 30 02:19:52 2015 +0200 (2015-11-30) |
parents | 69a870be03d3 |
children | 46e850ee3a5d |
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 |