wok-next view perl-net-pcap/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 4e6503d7a19f |
children | f17e1f86f546 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="perl-net-pcap"
4 VERSION="0.18"
5 CATEGORY="perl"
6 SHORT_DESC="Net::Pcap - Interface to the pcap(3) LBL packet capture library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Net-Pcap"
10 REPOLOGY="perl:net-pcap"
12 TARBALL="Net-Pcap-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAPER/$TARBALL"
15 BUILD_DEPENDS="perl-dev libpcap-dev"
17 compile_rules() {
18 perl Makefile.PL &&
19 make &&
20 make DESTDIR=$install install &&
22 chmod -R u+w $install
23 }
25 genpkg_rules() {
26 copy @std
27 DEPENDS="perl libpcap"
28 }