wok annotate perl-proc-processtable/receipt @ rev 1607
Add perl-proc-processtable
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 11:13:53 2008 +0000 (2008-10-19) |
parents | |
children | d0c48e674c7c |
rev | line source |
---|---|
pascal@1607 | 1 # SliTaz package receipt. |
pascal@1607 | 2 |
pascal@1607 | 3 PACKAGE="perl-proc-processtable" |
pascal@1607 | 4 VERSION="0.39" |
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 |