diff options
Diffstat (limited to 'perl')
-rw-r--r-- | perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild | 24 | ||||
-rw-r--r-- | perl/perl-Net-Pcap/perl-Net-Pcap.info | 8 | ||||
-rw-r--r-- | perl/perl-Net-Pcap/slack-desc | 2 |
3 files changed, 11 insertions, 23 deletions
diff --git a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild index d61a1b9061..6ceafc7695 100644 --- a/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for perl-Net-Pcap -# Copyright 2009-2010 Marco Bonetti <sid77@slackware.it> +# Copyright 2009-2012 Marco Bonetti <sid77@slackware.it> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,19 +23,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Net-Pcap -VERSION=${VERSION:-0.14} +VERSION=${VERSION:-0.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRC_PRGNAM=Net-Pcap DOCS="README" -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -83,20 +81,10 @@ make install DESTDIR=$PKG # Move man pages mv $PKG/usr/share/man $PKG/usr/ -# Compress man pages -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) - -# Remove perllocal.pod and other special files that don't need to be installed -( cd $PKG - # Remove 'special' files - find . -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true # Remove empty directories find $PKG -depth -type d -empty -delete diff --git a/perl/perl-Net-Pcap/perl-Net-Pcap.info b/perl/perl-Net-Pcap/perl-Net-Pcap.info index 01e36b594a..8708ced120 100644 --- a/perl/perl-Net-Pcap/perl-Net-Pcap.info +++ b/perl/perl-Net-Pcap/perl-Net-Pcap.info @@ -1,10 +1,10 @@ PRGNAM="perl-Net-Pcap" -VERSION="0.14" +VERSION="0.16" HOMEPAGE="http://search.cpan.org/dist/Net-Pcap/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-Pcap-0.14.tar.gz" -MD5SUM="80a4b62911cded1a011b897f735d445e" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/Net-Pcap-0.16.tar.gz" +MD5SUM="b150d8e0a40137fad2a7df792d80cab4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Marco Bonetti" EMAIL="sid77@slackware.it" -APPROVED="rworkman" +APPROVED="Niels Horn" diff --git a/perl/perl-Net-Pcap/slack-desc b/perl/perl-Net-Pcap/slack-desc index fa462100a9..2eab2d3a4d 100644 --- a/perl/perl-Net-Pcap/slack-desc +++ b/perl/perl-Net-Pcap/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler-------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| perl-Net-Pcap: perl-Net-Pcap (Interface to pcap(3) LBL packet capture library) perl-Net-Pcap: perl-Net-Pcap: The Net::Pcap module is a Perl binding to the LBL pcap(3) packet |