mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
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:
parent
c3c747fca6
commit
6d16bc8f79
2 changed files with 12 additions and 13 deletions
|
@ -26,7 +26,7 @@
|
|||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM="perl-Test-TCP"
|
||||
VERSION=${VERSION:-2.02}
|
||||
VERSION=${VERSION:-2.14}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -63,15 +63,14 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -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
|
||||
|
||||
### putting essential docs
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="perl-Test-TCP"
|
||||
VERSION="2.02"
|
||||
VERSION="2.14"
|
||||
HOMEPAGE="https://metacpan.org/pod/Test::TCP"
|
||||
DOWNLOAD="http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.02.tar.gz"
|
||||
MD5SUM="9014b0858868530a0786ddf4b1c9b151"
|
||||
DOWNLOAD="http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.14.tar.gz"
|
||||
MD5SUM="402e78138e3269dde973960dd3d44d09"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="perl-Test-SharedFork"
|
||||
|
|
Loading…
Reference in a new issue