wok-next annotate perl-archive-zip/receipt @ rev 16155
mirror-tools: no more mirror-info since http://hg.slitaz.org/slitaz-dev-tools/rev/113c2519c444
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 14:14:24 2014 +0000 (2014-03-28) |
parents | 2737a1756a14 |
children | 1a86cb99cbbf |
rev | line source |
---|---|
pankso@3111 | 1 # SliTaz package receipt. |
pankso@3111 | 2 |
pankso@3111 | 3 PACKAGE="perl-archive-zip" |
erjo@12227 | 4 VERSION="1.30" |
pankso@3111 | 5 CATEGORY="development" |
pankso@3111 | 6 SHORT_DESC="Archive Zip module for Perl." |
pankso@3111 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pankso@3111 | 9 DEPENDS="perl" |
pankso@3111 | 10 BUILD_DEPENDS="perl" |
pankso@3111 | 11 SOURCE="Archive-Zip" |
pankso@3111 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3111 | 13 WEB_SITE="http://cpan.org/" |
pankso@3111 | 14 WGET_URL="http://cpan.org/authors/id/A/AD/ADAMK/$TARBALL" |
pankso@3111 | 15 |
pankso@3111 | 16 # Rules to configure and make the package. |
pankso@3111 | 17 compile_rules() |
pankso@3111 | 18 { |
pankso@3111 | 19 cd $src |
pankso@3111 | 20 perl Makefile.PL && |
pankso@3111 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pankso@3111 | 23 } |
pankso@3111 | 24 |
pankso@3111 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3111 | 26 genpkg_rules() |
pankso@3111 | 27 { |
pankso@3111 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pankso@3111 | 30 } |
pankso@3111 | 31 |