wok-current view perl-net-ip/receipt @ rev 18483

Up slitaz-configs(263)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 09 01:31:14 2015 +0300 (2015-10-09)
parents 86d71949f3ad
children 20661c276bcf
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 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="Net-IP"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.cpan.org/modules/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MANU/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv $SOURCE $src 2> /dev/null
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }