wok view perl-getopt-long/receipt @ rev 16817
Add appdata-tools
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Jul 10 23:19:29 2014 -0300 (2014-07-10) |
parents | 69a870be03d3 |
children | 46e850ee3a5d |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-getopt-long"
4 VERSION="2.37"
5 CATEGORY="development"
6 SHORT_DESC="Getopt::Long module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="Getopt-Long"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://cpan.org/authors/id/J/JV/JV/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }