diff options
Diffstat (limited to 'libraries/wjelement/wjelement.SlackBuild')
-rw-r--r-- | libraries/wjelement/wjelement.SlackBuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/wjelement/wjelement.SlackBuild b/libraries/wjelement/wjelement.SlackBuild index df277b1698..916658465e 100644 --- a/libraries/wjelement/wjelement.SlackBuild +++ b/libraries/wjelement/wjelement.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for WJElement -# Copyright 2013-2015 Owen Swerkstrom <owenswerk@gmail.com> +# Copyright 2013-2016 Owen Swerkstrom <owenswerk@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,13 +24,13 @@ PRGNAM=wjelement -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.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 @@ -41,8 +41,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" @@ -88,7 +88,8 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM/$PRGNAM.SlackBuild +mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |