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>
This commit is contained in:
Binh Nguyen 2012-08-21 23:15:53 -05:00 committed by Robby Workman
parent 01ce03b328
commit 6935f7aafc

View file

@ -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