summaryrefslogtreecommitdiff
path: root/system/logtool/logtool.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-04-23 08:29:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-23 08:29:34 +0700
commita10bfd1102a0dbd7db9fe10fb5f66efa4cd664d9 (patch)
treea179046084b670bd7d97cdfe0139b011d51cd5e0 /system/logtool/logtool.SlackBuild
parentb9f9953150c2fa73a426ba403914a2a0d9e187bd (diff)
downloadslackbuilds-a10bfd1102a0dbd7db9fe10fb5f66efa4cd664d9.tar.gz
system/logtool: Updated for version 1.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/logtool/logtool.SlackBuild')
-rw-r--r--system/logtool/logtool.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/system/logtool/logtool.SlackBuild b/system/logtool/logtool.SlackBuild
index 7c14c06b94..dd337a91be 100644
--- a/system/logtool/logtool.SlackBuild
+++ b/system/logtool/logtool.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for logtool.
#
-# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=logtool
-VERSION=${VERSION:-1.2.8}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
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"
@@ -69,9 +69,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-rm -rf debian
-gzip -dc $CWD/logtool_1.2.8-8.diff.gz | patch -p1
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -91,11 +88,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-DOCS="CHANGES-1.2 CHANGES.history COPYING CREDITS INSTALL README TODO USAGE"
+DOCS="CHANGES COPYING CREDITS Changes INSTALL README TODO USAGE"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a debian/changelog $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install