summaryrefslogtreecommitdiffstats
path: root/development/ebe/ebe.SlackBuild
diff options
context:
space:
mode:
author DhabyX2017-04-05 09:59:55 +0200
committer Willy Sudiarto Raharjo2017-04-08 01:57:47 +0200
commit031da273cb9279d1342bbf95e91dc59068607e51 (patch)
tree25a5f2a92bc62beaa095acddb331b223801e3c79 /development/ebe/ebe.SlackBuild
parent0016e875981c265d3970dd19cc10e61dec778f1e (diff)
downloadslackbuilds-031da273cb9279d1342bbf95e91dc59068607e51.tar.gz
development/ebe: Updated for version 3.0.10 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/ebe/ebe.SlackBuild')
-rw-r--r--development/ebe/ebe.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/development/ebe/ebe.SlackBuild b/development/ebe/ebe.SlackBuild
index f4525d5689..bc0f9944e0 100644
--- a/development/ebe/ebe.SlackBuild
+++ b/development/ebe/ebe.SlackBuild
@@ -5,6 +5,7 @@
# Slackware build script for ebe
# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org
+# 2017 | Dhaby Xiloj | slack.dhabyx@gmail.com
# Copyright 2014 Thorn Inurcide USA
# All rights reserved.
@@ -28,13 +29,13 @@
PRGNAM=ebe
-VERSION=${VERSION:-3.0.3}
+VERSION=${VERSION:-3.0.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
*) export ARCH=$( uname -m ) ;;
esac
@@ -45,8 +46,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"
@@ -67,7 +68,7 @@ cd $TMP
rm -rf $PRGNAM
mkdir -p $PRGNAM
cd $PRGNAM
-tar xvf $CWD/$PRGNAM\_src\_$VERSION.tgz
+tar xvf $CWD/$PRGNAM\_src.tgz
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -76,7 +77,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./qrc
-qmake
+qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS"
make
mkdir -p $PKG/opt/$PRGNAM-$VERSION
@@ -94,11 +95,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
#Symlink the binary to /usr/bin
mkdir -p $PKG/usr/bin
-(
- ln -sf /opt/${PRGNAM}-${VERSION}/${PRGNAM} $PKG/usr/bin/
-)
+ln -sf /opt/${PRGNAM}-${VERSION}/${PRGNAM} $PKG/usr/bin/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install