aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Net-Write
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Net-Write')
-rw-r--r--perl/perl-Net-Write/perl-Net-Write.SlackBuild27
-rw-r--r--perl/perl-Net-Write/perl-Net-Write.info8
2 files changed, 13 insertions, 22 deletions
diff --git a/perl/perl-Net-Write/perl-Net-Write.SlackBuild b/perl/perl-Net-Write/perl-Net-Write.SlackBuild
index 68805bd8b37fa..606caa2f97b83 100644
--- a/perl/perl-Net-Write/perl-Net-Write.SlackBuild
+++ b/perl/perl-Net-Write/perl-Net-Write.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Net-Write
-VERSION=${VERSION:-1.07}
+VERSION=${VERSION:-1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,32 +72,23 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-perl Makefile.PL INSTALLDIRS=perl
+perl Makefile.PL \
+ PREFIX=/usr \
+ INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 \
+ INSTALLVENDORMAN3DIR=/usr/man/man3
make
-make test
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
-)
-
# Remove empty directories
find $PKG -depth -type d -empty -delete
+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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/perl/perl-Net-Write/perl-Net-Write.info b/perl/perl-Net-Write/perl-Net-Write.info
index d87b02ea5d7a3..264e18e16f658 100644
--- a/perl/perl-Net-Write/perl-Net-Write.info
+++ b/perl/perl-Net-Write/perl-Net-Write.info
@@ -1,10 +1,10 @@
PRGNAM="perl-Net-Write"
-VERSION="1.07"
+VERSION="1.10"
HOMEPAGE="https://metacpan.org/pod/Net::Write"
-DOWNLOAD="http://www.cpan.org/authors/id/G/GO/GOMOR/Net-Write-1.07.tar.gz"
-MD5SUM="a3310df977446fcd8004fdbb66a782b5"
+DOWNLOAD="http://www.cpan.org/authors/id/G/GO/GOMOR/Net-Write-1.10.tar.gz"
+MD5SUM="1b8a67edd006f99ddc06db10f51b65a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="perl-Class-Gomor perl-Net-Pcap perl-Socket6"
+REQUIRES="perl-Class-Gomor perl-Net-Pcap perl-Socket6 perl-Socket-GetAddrinfo"
MAINTAINER="Marco Bonetti"
EMAIL="sid77@slackware.it"