wok-6.x diff perl-net-pcap/receipt @ rev 23158
updated lyx, lyx-doc lyx-examples and lyx-locales (2.0.5.1 -> 2.3.4.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 17 13:34:46 2020 +0100 (2020-03-17) |
parents | 2d12ebd38be4 |
children | ca4a422cce07 |
line diff
1.1 --- a/perl-net-pcap/receipt Fri Jun 07 18:46:07 2013 +0200 1.2 +++ b/perl-net-pcap/receipt Tue Mar 17 13:34:46 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="perl-net-pcap" 1.7 -VERSION="0.16" 1.8 +VERSION="0.18" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Net::Pcap module is a Perl extension." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -16,7 +16,10 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - cd $src 1.17 + # libpcap 1.9.0 update 1.18 + sed '/pcap_samp {/{NNNNNNNNNd};/pcap_rmtauth {/{NNNNd}' -i stubs.inc 1.19 + sed 's|cpp_defines(@funcs)|&. "-DHAVE_PCAP_SETSAMPLING"|' -i Makefile.PL 1.20 + 1.21 perl Makefile.PL 1.22 make 1.23 make DESTDIR=$DESTDIR install