summaryrefslogtreecommitdiff
path: root/libraries/libunibreak/libunibreak.SlackBuild
diff options
context:
space:
mode:
authorMartin Rodriguez <slackmart@gmail.com>2016-09-30 07:38:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:17:27 +0700
commit1d580fa4bfa04daf7d974d4ae6d341c34ffa63b2 (patch)
treefdb64970fa484e8e2a7684d426399cae8e91678c /libraries/libunibreak/libunibreak.SlackBuild
parent2e1833d31be2a09c38789c6c9f99fa401e072282 (diff)
downloadslackbuilds-1d580fa4bfa04daf7d974d4ae6d341c34ffa63b2.tar.gz
libraries/libunibreak: Updated for version 3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libunibreak/libunibreak.SlackBuild')
-rw-r--r--libraries/libunibreak/libunibreak.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/libraries/libunibreak/libunibreak.SlackBuild b/libraries/libunibreak/libunibreak.SlackBuild
index 911a164203..2055fa3591 100644
--- a/libraries/libunibreak/libunibreak.SlackBuild
+++ b/libraries/libunibreak/libunibreak.SlackBuild
@@ -1,17 +1,17 @@
#!/bin/sh
# Slackware build script for libunibreak
-# Maintained as of version 1.1 by SGMART <slackmart@gmail.com>
-# revision date: 2014/12/31
+# Maintained as of version 3.0 by slackmart <slackmart@gmail.com>
+# Revision date: 2016/09/29
PRGNAM=libunibreak
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-3.0}
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
@@ -22,22 +22,18 @@ 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=""
- ARCHQUADLET=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
- ARCHQUADLET=""
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
- ARCHQUADLET=""
fi
set -e