diff options
Diffstat (limited to 'system/ts/ts.SlackBuild')
-rw-r--r-- | system/ts/ts.SlackBuild | 16 |
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 \ |