perl/perl-Test-TCP: Updated for version 2.14.

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:21:00 +00:00 committed by Willy Sudiarto Raharjo
parent c3c747fca6
commit 6d16bc8f79
2 changed files with 12 additions and 13 deletions

View file

@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="perl-Test-TCP" PRGNAM="perl-Test-TCP"
VERSION=${VERSION:-2.02} VERSION=${VERSION:-2.14}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -63,15 +63,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
perl Build.PL \ perl Makefile.PL \
prefix=/usr \ PREFIX=/usr \
installdirs=vendor \ INSTALLDIRS=vendor \
destdir=$PKG INSTALLVENDORMAN1DIR=/usr/man/man1 \
./Build INSTALLVENDORMAN3DIR=/usr/man/man3
./Build test make
./Build install \ make test
--install_path bindoc=/usr/man/man1 \ make install DESTDIR=$PKG
--install_path libdoc=/usr/man/man3
### putting essential docs ### putting essential docs
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="perl-Test-TCP" PRGNAM="perl-Test-TCP"
VERSION="2.02" VERSION="2.14"
HOMEPAGE="https://metacpan.org/pod/Test::TCP" HOMEPAGE="https://metacpan.org/pod/Test::TCP"
DOWNLOAD="http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.02.tar.gz" DOWNLOAD="http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.14.tar.gz"
MD5SUM="9014b0858868530a0786ddf4b1c9b151" MD5SUM="402e78138e3269dde973960dd3d44d09"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="perl-Test-SharedFork" REQUIRES="perl-Test-SharedFork"