From 86cec3241d4426b96b92cd475d92c4d18800d957 Mon Sep 17 00:00:00 2001 From: Richard Ellis Date: Sat, 10 Dec 2011 18:41:01 -0200 Subject: system/ts: Updated for version 0.7.1. Signed-off-by: Niels Horn --- system/ts/ts.SlackBuild | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'system/ts/ts.SlackBuild') 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 \ -- cgit v1.2.3