wok-6.x annotate perl-archive-zip/receipt @ rev 18611
Up slitaz-tools(959)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 17 16:13:43 2015 +0200 (2015-11-17) |
parents | 2737a1756a14 |
children | b87782ff44c6 |
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 |