aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2016-12-04 13:12:45 -0600
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-10 00:57:47 +0000
commit4d82c14da8bba2efa0e1adfb90184bd1b9925c74 (patch)
treea11dda8e5c2bad3d6d91b4dc314c1103dd5b8530 /libraries
parent301b54182c116ccfa56d9c09921b06c0aa798532 (diff)
libraries/gtkdatabox: Updated for version 0.9.3.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gtkdatabox/gtkdatabox.SlackBuild18
-rw-r--r--libraries/gtkdatabox/gtkdatabox.info6
2 files changed, 11 insertions, 13 deletions
diff --git a/libraries/gtkdatabox/gtkdatabox.SlackBuild b/libraries/gtkdatabox/gtkdatabox.SlackBuild
index 0462853b9dc93..010197181ec20 100644
--- a/libraries/gtkdatabox/gtkdatabox.SlackBuild
+++ b/libraries/gtkdatabox/gtkdatabox.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for GtkDatabox
-# Copyright 2015 Kyle Guinn <elyk03@gmail.com>, USA
+# Copyright 2015-2016 Kyle Guinn <elyk03@gmail.com>, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,15 +21,14 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
PRGNAM=gtkdatabox
-VERSION=${VERSION:-0.9.2.0}
+VERSION=${VERSION:-0.9.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
@@ -45,6 +44,9 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
@@ -67,11 +69,6 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go-w,a+rX-st .
-# Examples need -lm for sin(). Add it.
-sed -i 's/\(@GTK_LIBS@\)/\1 -lm/' examples/Makefile.am
-autoreconf -vif
-
-CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -84,7 +81,8 @@ CFLAGS="$SLKCFLAGS" \
--disable-dependency-tracking \
--enable-libglade \
--enable-glade \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ CFLAGS="$SLKCFLAGS" \
make
make check
diff --git a/libraries/gtkdatabox/gtkdatabox.info b/libraries/gtkdatabox/gtkdatabox.info
index df742be0816d6..66a9491a366ff 100644
--- a/libraries/gtkdatabox/gtkdatabox.info
+++ b/libraries/gtkdatabox/gtkdatabox.info
@@ -1,8 +1,8 @@
PRGNAM="gtkdatabox"
-VERSION="0.9.2.0"
+VERSION="0.9.3.0"
HOMEPAGE="http://sourceforge.net/projects/gtkdatabox/"
-DOWNLOAD="http://downloads.sourceforge.net/gtkdatabox/gtkdatabox-0.9.2.0.tar.gz"
-MD5SUM="99c1fe9a918ee94e2b6f967cd22a6f5b"
+DOWNLOAD="http://downloads.sourceforge.net/gtkdatabox/gtkdatabox-0.9.3.0.tar.gz"
+MD5SUM="1701bd6e7874a9617bcee3930edb5981"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""