wok-current rev 23104

Up perl-net-pcap (0.18)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 12 11:27:14 2020 +0100 (2020-03-12)
parents 09c1c92bad93
children 67692aafbf59
files perl-net-pcap/receipt
line diff
     1.1 --- a/perl-net-pcap/receipt	Thu Mar 12 11:22:59 2020 +0100
     1.2 +++ b/perl-net-pcap/receipt	Thu Mar 12 11:27:14 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