wok-next view perl-net-pcap/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 1a86cb99cbbf
children 4e6503d7a19f
line source
1 # SliTaz package receipt.
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"
11 TARBALL="Net-Pcap-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/S/SA/SAPER/$TARBALL"
14 DEPENDS="perl libpcap"
15 BUILD_DEPENDS="perl-dev libpcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 perl Makefile.PL &&
21 make && make DESTDIR=$install install &&
23 chmod -R u+w $install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 copy @std
30 }