wok-current annotate perl-proc-processtable/receipt @ rev 13734
Add xscavenger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 25 16:55:52 2012 +0100 (2012-12-25) |
parents | 8383ab1ecd0c |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1607 | 1 # SliTaz package receipt. |
pascal@1607 | 2 |
pascal@1607 | 3 PACKAGE="perl-proc-processtable" |
erjo@4277 | 4 VERSION="0.45" |
pascal@1607 | 5 CATEGORY="development" |
pascal@1607 | 6 SHORT_DESC="Proc::ProcessTable module is a Perl extension." |
pascal@1607 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1607 | 8 DEPENDS="perl" |
pascal@1607 | 9 BUILD_DEPENDS="perl" |
pascal@1607 | 10 SOURCE="Proc-ProcessTable" |
pascal@1607 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1607 | 12 WEB_SITE="http://cpan.org/" |
pascal@1607 | 13 WGET_URL="http://cpan.org/authors/id/D/DU/DURIST/$TARBALL" |
pascal@1607 | 14 |
pascal@1607 | 15 # Rules to configure and make the package. |
pascal@1607 | 16 compile_rules() |
pascal@1607 | 17 { |
pascal@1607 | 18 cd $src |
pascal@1607 | 19 perl Makefile.PL |
pascal@1607 | 20 make |
pascal@1607 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1607 | 22 } |
pascal@1607 | 23 |
pascal@1607 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1607 | 25 genpkg_rules() |
pascal@1607 | 26 { |
pascal@1607 | 27 mkdir -p $fs/usr |
pascal@1607 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1607 | 29 } |
pascal@1607 | 30 |