wok-4.x view perl-net-pcap/receipt @ rev 11674

add runcom
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 18 09:00:05 2012 +0100 (2012-02-18)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-pcap"
4 VERSION="0.16"
5 CATEGORY="development"
6 SHORT_DESC="Net::Pcap module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl libpcap"
9 BUILD_DEPENDS="perl libpcap libpcap-dev"
10 SOURCE="Net-Pcap"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://cpan.org/"
13 WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 perl Makefile.PL
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
29 }