aboutsummaryrefslogtreecommitdiff
path: root/network/slimjet/slimjet.SlackBuild
diff options
context:
space:
mode:
authorskaendo <skaendo at excite dot com>2017-04-12 20:35:54 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:52 +0700
commitffb269bd559e65e67caf218f9e443f5dc55a9ae7 (patch)
tree1a4c5fecccb5820af8a7b137403298896fb875ac /network/slimjet/slimjet.SlackBuild
parentd9b71fdd7b9938fba67b5e326adcdbeb187de542 (diff)
network/slimjet: Updated for version 13.0.9.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/slimjet/slimjet.SlackBuild')
-rw-r--r--network/slimjet/slimjet.SlackBuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/network/slimjet/slimjet.SlackBuild b/network/slimjet/slimjet.SlackBuild
index 3046a4282c32..ca6b448ed844 100644
--- a/network/slimjet/slimjet.SlackBuild
+++ b/network/slimjet/slimjet.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slimjet
-VERSION=${VERSION:-13.0.8.0}
+VERSION=${VERSION:-13.0.9.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,10 +103,12 @@ 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/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}