wok view perl-net-pcap/receipt @ rev 18070

Up ms-sys (2.5.0), wkhtmltopdf (0.12.2.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 21 15:21:04 2015 +0200 (2015-05-21)
parents 6b4a47136bff
children 431d56806c7d
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 LICENSE="GPL"
9 DEPENDS="perl libpcap"
10 BUILD_DEPENDS="perl libpcap libpcap-dev"
11 SOURCE="Net-Pcap"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL
21 make
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }