wok-6.x annotate perl-net-ip/receipt @ rev 2085
Up + fix udev (137) put all rules in /etc/udev according to udev.conf
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 27 14:28:03 2009 +0100 (2009-01-27) |
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 |