wok annotate perl-net-ip/receipt @ rev 15374
Up apache-mod-perl (2.0.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 17 18:09:17 2013 +0000 (2013-10-17) |
parents | 86d71949f3ad |
children | 20661c276bcf |
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@14702 | 8 LICENSE="GPL" |
pascal@2069 | 9 DEPENDS="perl" |
pascal@2069 | 10 BUILD_DEPENDS="perl" |
pascal@2069 | 11 SOURCE="Net-IP" |
pascal@2069 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2243 | 13 WEB_SITE="http://www.cpan.org/modules/" |
pascal@2069 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MANU/$TARBALL" |
pascal@2069 | 15 |
pascal@2069 | 16 # Rules to configure and make the package. |
pascal@2069 | 17 compile_rules() |
pascal@2069 | 18 { |
pascal@2069 | 19 mv $SOURCE $src 2> /dev/null |
pascal@2069 | 20 cd $src |
pascal@2069 | 21 perl Makefile.PL && |
pascal@2069 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@2069 | 24 } |
pascal@2069 | 25 |
pascal@2069 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2069 | 27 genpkg_rules() |
pascal@2069 | 28 { |
pascal@2069 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@2069 | 31 } |
pascal@2069 | 32 |