summaryrefslogtreecommitdiff
path: root/perl/perl-Net-Server/perl-Net-Server.SlackBuild
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 /perl/perl-Net-Server/perl-Net-Server.SlackBuild
parent1456f56579a837349ebcd9097810970044735696 (diff)
downloadslackbuilds-f58cf898a2c7bbb0fd2a0d908e40cf5ed7dc0e1e.tar.gz
perl/perl-Net-Server: Updated for version 2.006.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-Net-Server/perl-Net-Server.SlackBuild')
-rw-r--r--perl/perl-Net-Server/perl-Net-Server.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/perl/perl-Net-Server/perl-Net-Server.SlackBuild b/perl/perl-Net-Server/perl-Net-Server.SlackBuild
index 1368945cdc..3e3a222684 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