From 25854852cd5d3fa48513537cfec62dbd4916c6a1 Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Mon, 27 Mar 2017 20:22:41 +0100 Subject: development/enki: Updated for version 15.11.1 + new maintainer. Signed-off-by: David Spencer --- development/enki/enki.SlackBuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'development/enki/enki.SlackBuild') diff --git a/development/enki/enki.SlackBuild b/development/enki/enki.SlackBuild index 74e4f00e70206..8e752c48b8c8b 100644 --- a/development/enki/enki.SlackBuild +++ b/development/enki/enki.SlackBuild @@ -1,6 +1,9 @@ #!/bin/sh + # Slackware build script for enki -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org + +# Copyright 2015-2107 Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Copyright 2017 Jeremy Hansen # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,7 +24,7 @@ # . PRGNAM=enki -VERSION=${VERSION:-15.05.0} +VERSION=${VERSION:-15.11.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -29,7 +32,7 @@ DOCS="ChangeLog LICENSE.GPL2 README.md doc/" 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 +43,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" @@ -60,11 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -e $CWD/v$VERSION.tar.gz ]; then - tar xvf $CWD/v$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ -- cgit v1.2.3