wok-current annotate perl-archive-zip/receipt @ rev 14032
gocr: use pnm2png, not pnmtopng
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 11:06:24 2013 +0100 (2013-02-18) |
parents | 3899d9ae79b7 |
children | 2d12ebd38be4 |
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" |
pankso@3111 | 8 DEPENDS="perl" |
pankso@3111 | 9 BUILD_DEPENDS="perl" |
pankso@3111 | 10 SOURCE="Archive-Zip" |
pankso@3111 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@3111 | 12 WEB_SITE="http://cpan.org/" |
pankso@3111 | 13 WGET_URL="http://cpan.org/authors/id/A/AD/ADAMK/$TARBALL" |
pankso@3111 | 14 |
pankso@3111 | 15 # Rules to configure and make the package. |
pankso@3111 | 16 compile_rules() |
pankso@3111 | 17 { |
pankso@3111 | 18 cd $src |
pankso@3111 | 19 perl Makefile.PL && |
pankso@3111 | 20 make && |
pankso@3111 | 21 make DESTDIR=$PWD/_pkg install |
pankso@3111 | 22 } |
pankso@3111 | 23 |
pankso@3111 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3111 | 25 genpkg_rules() |
pankso@3111 | 26 { |
pankso@3111 | 27 mkdir -p $fs/usr |
pankso@3111 | 28 cp -a $_pkg/usr/lib $fs/usr |
pankso@3111 | 29 } |
pankso@3111 | 30 |