diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2010-04-24 04:23:39 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-15 10:50:28 +0200 |
commit | 99d1a5cb0d732fe0b2b3d129fff72794d32cb701 (patch) | |
tree | fd1098c2fe24db2028ed632252cfe135569fca17 /libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild | |
parent | 0cce02fd1d84188dfcb76163e4b6a053b2a90fff (diff) | |
download | slackbuilds-99d1a5cb0d732fe0b2b3d129fff72794d32cb701.tar.gz |
libraries/perl-Test-Pod: Updated for version 1.43.
Diffstat (limited to 'libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild')
-rw-r--r-- | libraries/perl-Test-Pod/perl-Test-Pod.SlackBuild | 19 |
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 |