summaryrefslogtreecommitdiff
path: root/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-TCP/perl-Test-TCP.SlackBuild')
-rw-r--r--perl/perl-Test-TCP/perl-Test-TCP.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
index d7d555e061..64d05f07b7 100644
--- a/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
+++ b/perl/perl-Test-TCP/perl-Test-TCP.SlackBuild
@@ -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