aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libeot/libeot.SlackBuild14
-rw-r--r--libraries/libeot/libeot.info2
2 files changed, 8 insertions, 8 deletions
diff --git a/libraries/libeot/libeot.SlackBuild b/libraries/libeot/libeot.SlackBuild
index 15fed26b7a2c8..931651a657981 100644
--- a/libraries/libeot/libeot.SlackBuild
+++ b/libraries/libeot/libeot.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libeot
-# Copyright 2015 Hunter Sezen California, USA
+# Copyright 2015, 2018 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +24,12 @@
PRGNAM=libeot
VERSION=${VERSION:-0.01}
-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
@@ -40,8 +40,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"
@@ -54,13 +54,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/libraries/libeot/libeot.info b/libraries/libeot/libeot.info
index ce123a59226bf..f6e8a90117acc 100644
--- a/libraries/libeot/libeot.info
+++ b/libraries/libeot/libeot.info
@@ -1,7 +1,7 @@
PRGNAM="libeot"
VERSION="0.01"
HOMEPAGE="https://github.com/umanwizard/libeot"
-DOWNLOAD="https://github.com/umanwizard/libeot/archive/v0.01.tar.gz"
+DOWNLOAD="https://github.com/umanwizard/libeot/archive/v0.01/libeot-0.01.tar.gz"
MD5SUM="891ec10e22c090a09420dbbb5efacfd3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""