summaryrefslogtreecommitdiff
path: root/libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild')
-rw-r--r--libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild19
1 files changed, 10 insertions, 9 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