diff options
author | David Woodfall <dave@dawoodfall.net> | 2018-03-27 15:02:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-31 07:41:37 +0700 |
commit | 6124c669e76dca63ca862230c4bcdb665bc1cfba (patch) | |
tree | 4cd3776f90845172236748b228547bf62dade0b6 /audio/xforge/xforge.SlackBuild | |
parent | 1b3d2e7c2a08eb0361e2d4ede37a51f21f090a17 (diff) | |
download | slackbuilds-6124c669e76dca63ca862230c4bcdb665bc1cfba.tar.gz |
audio/xforge: Script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/xforge/xforge.SlackBuild')
-rw-r--r-- | audio/xforge/xforge.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/xforge/xforge.SlackBuild b/audio/xforge/xforge.SlackBuild index a383a67df2..232cb51b3a 100644 --- a/audio/xforge/xforge.SlackBuild +++ b/audio/xforge/xforge.SlackBuild @@ -2,11 +2,9 @@ # Slackware build script for xforge -# Copyright 2010 David Woodfall info@davidwoodfall.co.uk> +# Copyright 2010 David Woodfall <dave@dawoodfall.net> # All rights reserved. # -# aka dive in ##slackware on freenode.net -# # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -22,18 +20,17 @@ # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # 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. FURTHERMORE I AM NOT LIABLE IF -# YOUR DATA IS DESTROYED, YOUR HOUSE BURNS DOWN OR YOUR DOG RUNS OFF. +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xforge VERSION=${VERSION:-0.2.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -44,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" @@ -74,7 +71,7 @@ find -L . \ -exec chmod 644 {} \; xmkmf -a -make +make CFLAGS="$SLKCFLAGS" install -m 755 xforge $PKG/usr/bin find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |