wok-current annotate perl-getopt-long/receipt @ rev 12037
linux, linux-libre: do not create $WOK/tmp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 07 09:10:02 2012 +0100 (2012-03-07) |
parents | |
children | 2d12ebd38be4 |
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@1616 | 8 DEPENDS="perl" |
pascal@1616 | 9 BUILD_DEPENDS="perl" |
pascal@1616 | 10 SOURCE="Getopt-Long" |
pascal@1616 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1616 | 12 WEB_SITE="http://cpan.org/" |
pascal@1616 | 13 WGET_URL="http://cpan.org/authors/id/J/JV/JV/$TARBALL" |
pascal@1616 | 14 |
pascal@1616 | 15 # Rules to configure and make the package. |
pascal@1616 | 16 compile_rules() |
pascal@1616 | 17 { |
pascal@1616 | 18 cd $src |
pascal@1616 | 19 perl Makefile.PL && |
pascal@1616 | 20 make && |
pascal@1616 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1616 | 22 } |
pascal@1616 | 23 |
pascal@1616 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1616 | 25 genpkg_rules() |
pascal@1616 | 26 { |
pascal@1616 | 27 mkdir -p $fs/usr |
pascal@1616 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1616 | 29 } |
pascal@1616 | 30 |