diff options
author | Kyle Guinn <elyk03@gmail.com> | 2016-12-04 13:12:45 -0600 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:47 +0000 |
commit | 4d82c14da8bba2efa0e1adfb90184bd1b9925c74 (patch) | |
tree | a11dda8e5c2bad3d6d91b4dc314c1103dd5b8530 /libraries/gtkdatabox/gtkdatabox.SlackBuild | |
parent | 301b54182c116ccfa56d9c09921b06c0aa798532 (diff) |
libraries/gtkdatabox: Updated for version 0.9.3.0.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'libraries/gtkdatabox/gtkdatabox.SlackBuild')
-rw-r--r-- | libraries/gtkdatabox/gtkdatabox.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/libraries/gtkdatabox/gtkdatabox.SlackBuild b/libraries/gtkdatabox/gtkdatabox.SlackBuild index 0462853b9dc9..010197181ec2 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 |