summaryrefslogtreecommitdiff
path: root/perl/perl-net-dbus/perl-net-dbus.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-03-12 16:44:42 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-18 06:58:22 +0700
commit119ba6506057c8b1b543da73c37521c5fbe360dc (patch)
treee13e431f5b62ed2da0a20e9e87391d6e6027cb8b /perl/perl-net-dbus/perl-net-dbus.SlackBuild
parent49044a010de94e0f6df58f0318a457af2e5a5174 (diff)
downloadslackbuilds-119ba6506057c8b1b543da73c37521c5fbe360dc.tar.gz
perl/perl-net-dbus: New maintainer + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-net-dbus/perl-net-dbus.SlackBuild')
-rw-r--r--perl/perl-net-dbus/perl-net-dbus.SlackBuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/perl/perl-net-dbus/perl-net-dbus.SlackBuild b/perl/perl-net-dbus/perl-net-dbus.SlackBuild
index 56e9f4cad2..4c30f95d9b 100644
--- a/perl/perl-net-dbus/perl-net-dbus.SlackBuild
+++ b/perl/perl-net-dbus/perl-net-dbus.SlackBuild
@@ -1,11 +1,12 @@
#!/bin/sh
-
-# Slackware build script for perl-net-dbus
-
+#
+# Slackware build script for perl-net-dbus.
+#
# Copyright 2011-2012 Binh Nguyen <binhvng@gmail.com>
-# All rights reserved.
+# Adopted 2014-2017 Glenn Becker <glenn.becker@gmail.com>
+# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
#
-# Adopted 2014 Glenn Becker <glenn.becker@gmail.com>
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -26,14 +27,12 @@
PRGNAM=perl-net-dbus
VERSION=${VERSION:-1.1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-SRCNAM=Net-DBus
-
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +43,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -58,7 +57,9 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+SRCNAM="Net-DBus"
+
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT