aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 04:30:20 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:26:41 +0000
commit8f9a030a9ca81fe649a36705e95fc6b6a1137b86 (patch)
treef148b28e0b38743329ce90cadd79da3423322f88 /libraries
parente16d0badfe9827c9b0ebbdee3c439ceb69811f81 (diff)
libraries/purple-plugin_pack: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
index a16617f7fc2f8..ee7ee9071d9ba 100644
--- a/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
+++ b/libraries/purple-plugin_pack/purple-plugin_pack.SlackBuild
@@ -4,13 +4,13 @@
# Heavily modified by Robby Workman of the SlackBuilds.org project
PRGNAM=purple-plugin_pack
-VERSION=2.5.1
+VERSION=${VERSION:-2.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -21,11 +21,11 @@ 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=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"