summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2015-08-28 00:44:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-28 00:44:03 +0700
commite1787e22e74dbcab7d2bce9294067f7ab9f79f0b (patch)
tree87e888f2691f2413ea48ef3fd9b8e61b85cd3f5a /perl
parenta9590cbca4149d06d87cd9e3dbe9d9db4dfe0ecd (diff)
downloadslackbuilds-e1787e22e74dbcab7d2bce9294067f7ab9f79f0b.tar.gz
perl/perl-Test-Pod: Updated for version 1.51.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl')
-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=""