summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-Test-Pod/perl-Test-Pod.SlackBuild17
-rw-r--r--perl/perl-Test-Pod/perl-Test-Pod.info8
2 files changed, 11 insertions, 14 deletions
diff --git a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild
index 68075ba5f9..6c6965ed69 100644
--- a/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild
+++ b/perl/perl-Test-Pod/perl-Test-Pod.SlackBuild
@@ -3,7 +3,7 @@
# Slackware Package Build Script for perl modules: Test::POD
# Home Page http://search.cpan.org/dist/Test-Pod/
-# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2008-2015, Nishant Limbachia, Hoffman Estates, IL, USA
# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
@@ -27,13 +27,12 @@
#
# Modified by the SlackBuilds.org project.
+SRCNAM="Test-Pod"
PRGNAM="perl-Test-Pod"
-VERSION=${VERSION:-1.48}
+VERSION=${VERSION:-1.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -63,12 +62,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-
CFLAGS="$SLKCFLAGS" \
-perl Build.PL prefix=/usr installdirs=vendor destdir=$PKG
-./Build
-./Build test
-./Build install
+perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
+
+make
+make install DESTDIR=$PKG
### putting essential docs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -78,7 +76,6 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove perlocal.pod and .packlist from $PKG
find $PKG -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" | xargs rm -f
-mv $PKG/usr/share/man $PKG/usr/man
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
diff --git a/perl/perl-Test-Pod/perl-Test-Pod.info b/perl/perl-Test-Pod/perl-Test-Pod.info
index 0cad6a7307..2aae10b1b0 100644
--- a/perl/perl-Test-Pod/perl-Test-Pod.info
+++ b/perl/perl-Test-Pod/perl-Test-Pod.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Test-Pod"
-VERSION="1.48"
-HOMEPAGE="https://metacpan.org/pod/Test::Pod"
-DOWNLOAD="http://www.cpan.org/authors/id/D/DW/DWHEELER/Test-Pod-1.48.tar.gz"
-MD5SUM="c6bfd00ccdcb417d68fb3c0a0ec884c8"
+VERSION="1.51"
+HOMEPAGE="http://search.cpan.org/dist/Test-Pod/"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-1.51.tar.gz"
+MD5SUM="f806aa84de2f0c0fba48b3a5a8a4aecf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""