summaryrefslogtreecommitdiff
path: root/perl/perl-net-dns/perl-net-dns.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2012-04-29 20:11:16 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:40:04 -0500
commitd3677df7f42808d52db38205097113bff13b7e43 (patch)
tree9ac535e5ba91c512d38caed9f76aa8d072ac00e1 /perl/perl-net-dns/perl-net-dns.SlackBuild
parentb9439a53b37248c055bed27d617445f8ec67691b (diff)
downloadslackbuilds-d3677df7f42808d52db38205097113bff13b7e43.tar.gz
perl/perl-net-dns: Updated for version 0.68.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'perl/perl-net-dns/perl-net-dns.SlackBuild')
-rw-r--r--perl/perl-net-dns/perl-net-dns.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/perl/perl-net-dns/perl-net-dns.SlackBuild b/perl/perl-net-dns/perl-net-dns.SlackBuild
index 81d8b18f57..c3e2a6c4b5 100644
--- a/perl/perl-net-dns/perl-net-dns.SlackBuild
+++ b/perl/perl-net-dns/perl-net-dns.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for perl-net-dns
-# Copyright 2008-2011 LukenShiro, Italy
+# Copyright 2008-2012 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=perl-net-dns
-VERSION=${VERSION:-0.67}
+VERSION=${VERSION:-0.68}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
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
@@ -54,12 +52,12 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .