diff options
Diffstat (limited to 'perl/perl-Net-Server/perl-Net-Server.SlackBuild')
-rw-r--r-- | perl/perl-Net-Server/perl-Net-Server.SlackBuild | 15 |
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 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 |