diff options
author | Jeremy Hansen <jebrhansen+SBo@gmail.com> | 2017-03-27 20:22:41 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-01 06:56:55 +0700 |
commit | 25854852cd5d3fa48513537cfec62dbd4916c6a1 (patch) | |
tree | d45531a0ec6070f821f1497ab13a36920749d913 /development/enki/enki.SlackBuild | |
parent | f51f75cb9a0618bcd784433175e70f687660175d (diff) |
development/enki: Updated for version 15.11.1 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/enki/enki.SlackBuild')
-rw-r--r-- | development/enki/enki.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
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 <jebrhansen+SBo -at- gmail.com> # 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 @@ # <http://www.gnu.org/licenses/>. 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 . \ |