wok-next annotate perl-archive-zip/receipt @ rev 7049
Add hatenarunner
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 01 11:41:47 2010 +0100 (2010-11-01) |
parents | |
children | 2737a1756a14 |
rev | line source |
---|---|
pankso@3111 | 1 # SliTaz package receipt. |
pankso@3111 | 2 |
pankso@3111 | 3 PACKAGE="perl-archive-zip" |
pankso@3111 | 4 VERSION="1.20" |
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 |