wok rev 24244

updated perl-net-pcap (0.18 -> 0.20)
author Hans-G?nter Theisgen
date Sun Jan 02 07:38:44 2022 +0100 (2022-01-02)
parents 8b05a456a684
children f60a373aac12
files perl-net-pcap/description.txt perl-net-pcap/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-net-pcap/description.txt	Sun Jan 02 07:38:44 2022 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +Net::Pcap is a Perl binding to the LBL pcap(3) library and its Win32 counterpart,
     1.5 +the WinPcap library.
     1.6 +Pcap (packet capture) is a portable API to capture network packet:
     1.7 +it allows applications to capture packets at link-layer, bypassing the normal
     1.8 +protocol stack.
     1.9 +It also provides features like kernel-level packet filtering and access to
    1.10 +internal statistics.
    1.11 +
    1.12 +Common applications include network statistics collection, security monitoring,
    1.13 +network debugging, etc.
     2.1 --- a/perl-net-pcap/receipt	Sun Jan 02 07:34:22 2022 +0100
     2.2 +++ b/perl-net-pcap/receipt	Sun Jan 02 07:38:44 2022 +0100
     2.3 @@ -1,17 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="perl-net-pcap"
     2.7 -VERSION="0.18"
     2.8 +VERSION="0.20"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Net::Pcap module is a Perl extension."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL"
    2.13 +WEB_SITE="https://metacpan.org/pod/Net::Pcap"
    2.14 +REPOLOGY="perl:net-pcap"
    2.15 +SOURCE="Net-Pcap"
    2.16 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.17 +WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL"
    2.18  DEPENDS="perl libpcap"
    2.19  BUILD_DEPENDS="perl libpcap libpcap-dev"
    2.20 -SOURCE="Net-Pcap"
    2.21 -TARBALL="$SOURCE-$VERSION.tar.gz"
    2.22 -WEB_SITE="https://metacpan.org/dist/Net-Pcap"
    2.23 -WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL"
    2.24  
    2.25  current_version()
    2.26  {
    2.27 @@ -26,15 +27,13 @@
    2.28  	sed '/pcap_samp {/{NNNNNNNNNd};/pcap_rmtauth {/{NNNNd}' -i stubs.inc
    2.29  	sed 's|cpp_defines(@funcs)|&. "-DHAVE_PCAP_SETSAMPLING"|' -i Makefile.PL
    2.30  
    2.31 -	perl Makefile.PL
    2.32 -	make
    2.33 -	make DESTDIR=$DESTDIR install
    2.34 +	perl Makefile.PL &&
    2.35 +	make &&
    2.36 +	make install DESTDIR=$DESTDIR
    2.37  }
    2.38  
    2.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.40  genpkg_rules()
    2.41  {
    2.42 -	mkdir -p $fs/usr
    2.43 -	cp -a $install/usr/lib $fs/usr
    2.44 +	cook_copy_folders	lib
    2.45  }
    2.46 -