summaryrefslogtreecommitdiff
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
parent2e1833d31be2a09c38789c6c9f99fa401e072282 (diff)
downloadslackbuilds-1d580fa4bfa04daf7d974d4ae6d341c34ffa63b2.tar.gz
libraries/libunibreak: Updated for version 3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libunibreak/libunibreak.SlackBuild16
-rw-r--r--libraries/libunibreak/libunibreak.info6
2 files changed, 9 insertions, 13 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
diff --git a/libraries/libunibreak/libunibreak.info b/libraries/libunibreak/libunibreak.info
index b4d5db1032..bfa38ab432 100644
--- a/libraries/libunibreak/libunibreak.info
+++ b/libraries/libunibreak/libunibreak.info
@@ -1,8 +1,8 @@
PRGNAM="libunibreak"
-VERSION="1.1"
+VERSION="3.0"
HOMEPAGE="http://vimgadgets.sourceforge.net/libunibreak/"
-DOWNLOAD="http://iweb.dl.sourceforge.net/project/vimgadgets/libunibreak/1.1/libunibreak-1.1.tar.gz"
-MD5SUM="b3ab265e1dc7a0f8876ed77ad6916f47"
+DOWNLOAD="https://github.com/adah1972/libunibreak/releases/download/libunibreak_3_0/libunibreak-3.0.tar.gz"
+MD5SUM="13e9a325c00b5943d6afb21f028635e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""