wok diff perl-net-pcap/receipt @ 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 | ca4a422cce07 |
children | bd71c410ddda |
line diff
1.1 --- a/perl-net-pcap/receipt Fri Sep 17 14:12:38 2021 +0000 1.2 +++ b/perl-net-pcap/receipt Sun Jan 02 07:38:44 2022 +0100 1.3 @@ -1,17 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="perl-net-pcap" 1.7 -VERSION="0.18" 1.8 +VERSION="0.20" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Net::Pcap module is a Perl extension." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="GPL" 1.13 +WEB_SITE="https://metacpan.org/pod/Net::Pcap" 1.14 +REPOLOGY="perl:net-pcap" 1.15 +SOURCE="Net-Pcap" 1.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.17 +WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" 1.18 DEPENDS="perl libpcap" 1.19 BUILD_DEPENDS="perl libpcap libpcap-dev" 1.20 -SOURCE="Net-Pcap" 1.21 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.22 -WEB_SITE="https://metacpan.org/dist/Net-Pcap" 1.23 -WGET_URL="http://cpan.org/authors/id/S/SA/SAPER/$TARBALL" 1.24 1.25 current_version() 1.26 { 1.27 @@ -26,15 +27,13 @@ 1.28 sed '/pcap_samp {/{NNNNNNNNNd};/pcap_rmtauth {/{NNNNd}' -i stubs.inc 1.29 sed 's|cpp_defines(@funcs)|&. "-DHAVE_PCAP_SETSAMPLING"|' -i Makefile.PL 1.30 1.31 - perl Makefile.PL 1.32 - make 1.33 - make DESTDIR=$DESTDIR install 1.34 + perl Makefile.PL && 1.35 + make && 1.36 + make install DESTDIR=$DESTDIR 1.37 } 1.38 1.39 # Rules to gen a SliTaz package suitable for Tazpkg. 1.40 genpkg_rules() 1.41 { 1.42 - mkdir -p $fs/usr 1.43 - cp -a $install/usr/lib $fs/usr 1.44 + cook_copy_folders lib 1.45 } 1.46 -