aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2012-12-18 17:00:02 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:45 -0500
commitf58cf898a2c7bbb0fd2a0d908e40cf5ed7dc0e1e (patch)
tree467470ffa9297497f5223700ac7ba08fc71f0b36
parent1456f56579a837349ebcd9097810970044735696 (diff)
perl/perl-Net-Server: Updated for version 2.006.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r--perl/perl-Net-Server/perl-Net-Server.SlackBuild15
-rw-r--r--perl/perl-Net-Server/perl-Net-Server.info6
2 files changed, 11 insertions, 10 deletions
diff --git a/perl/perl-Net-Server/perl-Net-Server.SlackBuild b/perl/perl-Net-Server/perl-Net-Server.SlackBuild
index 1368945cdca80..3e3a222684163 100644
--- a/perl/perl-Net-Server/perl-Net-Server.SlackBuild
+++ b/perl/perl-Net-Server/perl-Net-Server.SlackBuild
@@ -3,7 +3,8 @@
# Slackware Package Build Script for perl modules: Net::Server
# Home Page http://search.cpan.org/dist/Net-Server/
-# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA (nishant__AT__mnspace__DOT__net)
+# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA
+# (nishant _AT_ mnspace _DOT_ net)
# All rights reserved.
# Redistribution and use of this script, with or without modification, is
@@ -26,18 +27,17 @@
#
# Modified by the SlackBuilds.org project.
-SRCNAM=Net-Server
-PRGNAM=perl-$SRCNAM
-VERSION=${VERSION:-0.99}
+PRGNAM="perl-Net-Server"
+VERSION=${VERSION:-2.006}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -65,7 +65,8 @@ find . \
CFLAGS="$SLKCFLAGS" \
-perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3
+perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor \
+ INSTALLVENDORMAN1DIR=/usr/man/man1 INSTALLVENDORMAN3DIR=/usr/man/man3
make
make install DESTDIR=$PKG
diff --git a/perl/perl-Net-Server/perl-Net-Server.info b/perl/perl-Net-Server/perl-Net-Server.info
index 67bf5d845b69f..651d8c0d704ad 100644
--- a/perl/perl-Net-Server/perl-Net-Server.info
+++ b/perl/perl-Net-Server/perl-Net-Server.info
@@ -1,8 +1,8 @@
PRGNAM="perl-Net-Server"
-VERSION="0.99"
+VERSION="2.006"
HOMEPAGE="http://search.cpan.org/dist/Net-Server/"
-DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-0.99.tar.gz"
-MD5SUM="1ae03dff8b1009216a2e5d8f4c9a47b1"
+DOWNLOAD="http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-2.006.tar.gz"
+MD5SUM="74779e005acf97197799d936fe8a72d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""