wok annotate perl-net-ip/receipt @ rev 13639

Up: edje (1.7.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Nov 16 00:05:11 2012 +0100 (2012-11-16)
parents 8f05b2bd3f98
children 2d12ebd38be4
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@2243 12 WEB_SITE="http://www.cpan.org/modules/"
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