summaryrefslogtreecommitdiff
path: root/system/ts/ts.SlackBuild
diff options
context:
space:
mode:
authorRichard Ellis <rellis@dp100.com>2011-12-10 18:41:01 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-10 18:41:01 -0200
commit86cec3241d4426b96b92cd475d92c4d18800d957 (patch)
tree98fad68151c5379ac443b8d7f0f1eabf222569f2 /system/ts/ts.SlackBuild
parentedbc13c7a375c5a254e6c96c8988059d4f5f6224 (diff)
downloadslackbuilds-86cec3241d4426b96b92cd475d92c4d18800d957.tar.gz
system/ts: Updated for version 0.7.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/ts/ts.SlackBuild')
-rw-r--r--system/ts/ts.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/system/ts/ts.SlackBuild b/system/ts/ts.SlackBuild
index a23157974a..40e96e4c59 100644
--- a/system/ts/ts.SlackBuild
+++ b/system/ts/ts.SlackBuild
@@ -5,18 +5,17 @@
# Written by Richard Ellis (rellis@dp100.com)
# Released into the public domain June 11, 2009
+# V2 for Slackware 13.37 - November 11, 2011
PRGNAM=ts
-VERSION=${VERSION:-0.6.4}
+VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -55,19 +54,16 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make
+make CFLAGS="$SLKCFLAGS -pedantic -ansi -Wall"
make install PREFIX=$PKG/usr
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
rmdir $PKG/usr/share
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \