wok view perl-net-ip/receipt @ rev 10272
WARNING: revert libcap update 2.21 dont build and it a bas package (STOP UPDATE just FIXES)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 21 18:13:30 2011 +0200 (2011-05-21) |
parents | 8f05b2bd3f98 |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-ip"
4 VERSION="1.25"
5 CATEGORY="development"
6 SHORT_DESC="Net::IP module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl"
9 BUILD_DEPENDS="perl"
10 SOURCE="Net-IP"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.cpan.org/modules/"
13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MANU/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $SOURCE $src 2> /dev/null
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }