aboutsummaryrefslogtreecommitdiff
path: root/development/enki/enki.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/enki/enki.SlackBuild')
-rw-r--r--development/enki/enki.SlackBuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/development/enki/enki.SlackBuild b/development/enki/enki.SlackBuild
index 74e4f00e7020..8e752c48b8c8 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 . \