summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild19
-rw-r--r--libraries/perl-Test-Pod/perl-Test-Pod.info8
2 files changed, 14 insertions, 13 deletions
diff --git a/libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild b/libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild
index 347d7a0f96..43b2dab9f2 100644
--- a/libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild
+++ b/libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild
@@ -3,13 +3,13 @@
# Slackware Package Build Script for perl modules: Test::POD
# Home Page http://search.cpan.org/dist/Test-Pod/
-# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA [nishant@mnspace.net]
+# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
-# Redistribution and use of this script, with or without modification, is
+# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
-# 1. Redistributions of script must retain the above copyright notice,
+# 1. Redistributions of script must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
@@ -28,7 +28,7 @@
SRCNAM=Test-Pod
PRGNAM=perl-Test-Pod
-VERSION=1.26
+VERSION=1.43
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,10 +56,10 @@ find . \
CFLAGS="$SLKCFLAGS" \
-perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
-
-make
-make install DESTDIR=$PKG
+perl Build.PL prefix=/usr installdirs=vendor destdir=$PKG
+./Build
+./Build test
+./Build install
### putting essential docs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -74,10 +74,11 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove empty directories
find $PKG -depth -type d -empty -exec rm -rf {} \;
+mv $PKG/usr/share/man $PKG/usr/man
( 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
-)
+)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/perl-Test-Pod/perl-Test-Pod.info b/libraries/perl-Test-Pod/perl-Test-Pod.info
index b48ddddfcf..e722b257b8 100644
--- a/libraries/perl-Test-Pod/perl-Test-Pod.info
+++ b/libraries/perl-Test-Pod/perl-Test-Pod.info
@@ -1,10 +1,10 @@
PRGNAM="perl-Test-Pod"
-VERSION="1.26"
+VERSION="1.43"
HOMEPAGE="http://search.cpan.org/dist/Test-Pod/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/Test-Pod-1.26.tar.gz"
-MD5SUM="2f259135656ac4549b65a4f14f07b7c6"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-1.43.tar.gz"
+MD5SUM="57720a1358190ff7fccc0aa7a811d35c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="dsomero"
+APPROVED="Erik Hanson"