diff options
author | Kyle Guinn <elyk03@gmail.com> | 2016-12-04 13:54:38 -0600 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-12-10 00:57:47 +0000 |
commit | b55ec19dd530faf3d417ffb9c6549bec5961a5d9 (patch) | |
tree | ed509be40d2239a3627973e2086db2083183ee8c /academic/xoscope/xoscope.SlackBuild | |
parent | 4d82c14da8bba2efa0e1adfb90184bd1b9925c74 (diff) | |
download | slackbuilds-b55ec19dd530faf3d417ffb9c6549bec5961a5d9.tar.gz |
academic/xoscope: Updated for version 2.2.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'academic/xoscope/xoscope.SlackBuild')
-rw-r--r-- | academic/xoscope/xoscope.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/academic/xoscope/xoscope.SlackBuild b/academic/xoscope/xoscope.SlackBuild index 6e14803515..b0f9ff77e8 100644 --- a/academic/xoscope/xoscope.SlackBuild +++ b/academic/xoscope/xoscope.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for xoscope -# 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 @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xoscope -VERSION=${VERSION:-2.1} +VERSION=${VERSION:-2.2} 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 +45,9 @@ DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO* hardware" 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,7 +70,6 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go-w,a+rX-st . -CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -77,14 +79,13 @@ CFLAGS="$SLKCFLAGS" \ --infodir=/usr/info \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-dependency-tracking \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux \ + CFLAGS="$SLKCFLAGS" \ make make check make install-strip DESTDIR=$PKG -install -D -m0644 $PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop - find $PKG/usr/man -type f -exec gzip -9 {} + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |