wok-next annotate perl-net-ip/receipt @ rev 2112
Add: aspell-pt_PT
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Jan 29 20:13:42 2009 +0000 (2009-01-29) |
parents | |
children | 86d71949f3ad |
rev | line source |
---|---|
pascal@2069 | 1 # SliTaz package receipt. |
pascal@2069 | 2 |
pascal@2069 | 3 PACKAGE="perl-net-ip" |
pascal@2069 | 4 VERSION="1.25" |
pascal@2069 | 5 CATEGORY="development" |
pascal@2069 | 6 SHORT_DESC="Net::IP module is a Perl extension." |
pascal@2069 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2069 | 8 DEPENDS="perl" |
pascal@2069 | 9 BUILD_DEPENDS="perl" |
pascal@2069 | 10 SOURCE="Net-IP" |
pascal@2069 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2069 | 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" |
pascal@2069 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MANU/$TARBALL" |
pascal@2069 | 14 |
pascal@2069 | 15 # Rules to configure and make the package. |
pascal@2069 | 16 compile_rules() |
pascal@2069 | 17 { |
pascal@2069 | 18 mv $SOURCE $src 2> /dev/null |
pascal@2069 | 19 cd $src |
pascal@2069 | 20 perl Makefile.PL && |
pascal@2069 | 21 make && |
pascal@2069 | 22 make DESTDIR=$PWD/_pkg install |
pascal@2069 | 23 } |
pascal@2069 | 24 |
pascal@2069 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2069 | 26 genpkg_rules() |
pascal@2069 | 27 { |
pascal@2069 | 28 mkdir -p $fs/usr |
pascal@2069 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@2069 | 30 } |
pascal@2069 | 31 |