wok annotate perl-net-pcap/receipt @ rev 14251
cookutils: remove mercurial dep, it add a lot of MB to the iso and is installed by a cooker setup
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Mar 25 14:59:36 2013 +0100 (2013-03-25) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@11215 | 1 # SliTaz package receipt. |
pascal@11215 | 2 |
pascal@11215 | 3 PACKAGE="perl-net-pcap" |
pascal@11215 | 4 VERSION="0.16" |
pascal@11215 | 5 CATEGORY="development" |
pascal@11215 | 6 SHORT_DESC="Net::Pcap module is a Perl extension." |
pascal@11215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11215 | 8 DEPENDS="perl libpcap" |
pascal@11215 | 9 BUILD_DEPENDS="perl libpcap libpcap-dev" |
pascal@11215 | 10 SOURCE="Net-Pcap" |
pascal@11215 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11215 | 12 WEB_SITE="http://cpan.org/" |
pascal@11215 | 13 WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL" |
pascal@11215 | 14 |
pascal@11215 | 15 # Rules to configure and make the package. |
pascal@11215 | 16 compile_rules() |
pascal@11215 | 17 { |
pascal@11215 | 18 cd $src |
pascal@11215 | 19 perl Makefile.PL |
pascal@11215 | 20 make |
pascal@11215 | 21 make DESTDIR=$PWD/_pkg install |
pascal@11215 | 22 } |
pascal@11215 | 23 |
pascal@11215 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 25 genpkg_rules() |
pascal@11215 | 26 { |
pascal@11215 | 27 mkdir -p $fs/usr |
pascal@11215 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@11215 | 29 } |
pascal@11215 | 30 |