diff options
author | Gary Herreman <gary@garyrh.com> | 2018-11-17 20:05:44 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-24 12:35:09 +0700 |
commit | e548c560454efd347421fb031dd0eaf3ad0617ad (patch) | |
tree | a5013a3103833c6eca67e25d38928b8001669461 /system/jq/jq.SlackBuild | |
parent | 2c18d9a0e4add980d16c3232d7f96c27cefd6fb0 (diff) |
system/jq: Updated for version 1.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/jq/jq.SlackBuild')
-rw-r--r-- | system/jq/jq.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/system/jq/jq.SlackBuild b/system/jq/jq.SlackBuild index 8c538bf3a22a4..e832ccaa0ec3c 100644 --- a/system/jq/jq.SlackBuild +++ b/system/jq/jq.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for jq -# Copyright 2015 Gary Herreman <gary@garyrh.com> +# Copyright 2015, 2018 Gary Herreman <gary@garyrh.com> # 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=jq -VERSION=${VERSION:-1.4} +VERSION=${VERSION:-1.6} 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 @@ -40,8 +40,8 @@ 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="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -78,6 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man make +make check make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -91,7 +92,7 @@ mv $PKG/usr/share/doc $PKG/usr mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION rmdir $PKG/usr/share -cp -a docs/ $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog KEYS NEWS docs/ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |