aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-08-21 23:15:53 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 23:15:53 -0500
commit6935f7aafc7545038071aebee7d430d491dbae5e (patch)
tree1f1747ec397c025e3db5877feca7ea38af12b581
parent01ce03b328043665caaeb14ad90032fbc4a01ce2 (diff)
perl/perl-test-number-delta: Fixed to build against Perl 5.16.x
Signed-off-by: Binh Nguyen <binhnguyen@fastmail.fm> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--perl/perl-test-number-delta/perl-test-number-delta.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl/perl-test-number-delta/perl-test-number-delta.SlackBuild b/perl/perl-test-number-delta/perl-test-number-delta.SlackBuild
index dbefbf7df3607..d6ced532fd699 100644
--- a/perl/perl-test-number-delta/perl-test-number-delta.SlackBuild
+++ b/perl/perl-test-number-delta/perl-test-number-delta.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for perl-test-number-delta
# (C) 2007 Michael Wagner <lapinours@web.de>
+# Copyright 2012 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,12 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Maintained by Binh Nguyen <binhnguyen@fastmail.fm>
-
PRGNAM=perl-test-number-delta
SRCNAM=Test-Number-Delta
VERSION=1.03
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -60,7 +59,7 @@ perl Makefile.PL
make
make install INSTALLDIRS=vendor DESTDIR=$PKG
-mv $PKG/usr/share/man $PKG/usr && rm -rf $PKG/usr/share
+mv $PKG/usr/share/man $PKG/usr
gzip -9 $PKG/usr/man/man3/* 2> /dev/null
# Remove perlocal.pod and .packlist from $PKG