summaryrefslogtreecommitdiff
path: root/network/slimjet/slimjet.SlackBuild
diff options
context:
space:
mode:
authorskaendo <skaendo at excite dot com>2017-05-05 11:30:31 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-06 07:03:46 +0700
commit3461f9d571288b2e24543c8d32ab3d15a3320b4e (patch)
treef17da7c13777e058bf1ffc41abf63ee64f6610fb /network/slimjet/slimjet.SlackBuild
parent577feaca4eecd21f293746e00161ca2b00f3a745 (diff)
downloadslackbuilds-3461f9d571288b2e24543c8d32ab3d15a3320b4e.tar.gz
network/slimjet: Updated for version 14.0.5.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/slimjet/slimjet.SlackBuild')
-rw-r--r--network/slimjet/slimjet.SlackBuild21
1 files changed, 7 insertions, 14 deletions
diff --git a/network/slimjet/slimjet.SlackBuild b/network/slimjet/slimjet.SlackBuild
index 1fe4cfde01..4e696e08ea 100644
--- a/network/slimjet/slimjet.SlackBuild
+++ b/network/slimjet/slimjet.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for slimjet
-# Copyright 2017 skaendo <skaendo at excite dot com>
+# Copyright 2017 Ed Ender <skaendo at excite dot com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slimjet
-VERSION=${VERSION:-14.0.2.0}
+VERSION=${VERSION:-14.0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,22 +39,13 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- SRCARCH=i386
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
+if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then
SRCARCH=i386
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
SRCARCH=amd64
else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
- SRCARCH=i386
+ echo "$ARCH is not supported."
+ exit 1
fi
set -e
@@ -112,11 +103,13 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a license.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/README > $PKG/install/README
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}