perl/perl-Test-Number-Delta: Updated for version 1.06.

Fixes build with perl-5.22.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
David Spencer 2015-12-04 17:17:17 +00:00 committed by Willy Sudiarto Raharjo
parent 0e392c0348
commit 887c4832fc
2 changed files with 13 additions and 14 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-Test-Number-Delta
VERSION=${VERSION:-1.03}
VERSION=${VERSION:-1.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -71,15 +71,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
perl Build.PL \
prefix=/usr \
installdirs=vendor \
destdir=$PKG
./Build
./Build test
./Build install \
--install_path bindoc=/usr/man/man1 \
--install_path libdoc=/usr/man/man3
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
make test
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@ -93,7 +92,7 @@ find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
Changes LICENSE README Todo \
CONTRIBUTING.mkdn Changes LICENSE README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="perl-Test-Number-Delta"
VERSION="1.03"
VERSION="1.06"
HOMEPAGE="https://metacpan.org/pod/Test::Number::Delta"
DOWNLOAD="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.03.tar.gz"
MD5SUM="17d3eec2d5bbe012c4a797af8e75ae39"
DOWNLOAD="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz"
MD5SUM="f0d420e7f679a0bc593713d21c25f51e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""