system/tiger: Updated for version 3.2.1

This commit is contained in:
Menno E. Duursma 2010-05-11 22:27:08 +02:00 committed by Michiel van Wessem
parent c3ede85143
commit cc64175d4a

View file

@ -11,6 +11,7 @@ VERSION=3.2.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -41,15 +42,14 @@ make install DESTDIR=$PKG
cp -a $PKG/usr/share/tiger/bin/* $PKG/usr/bin
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/man
cp -a $PKG/usr/share/tiger/man/* $PKG/usr/man
mkdir -p $PKG/usr/man/man8
cp -a $PKG/usr/share/tiger/man/*.8 $PKG/usr/man/man8
( cd $PKG/usr/man
find . -type f \( -name '*.man' -a -name *.in \)-exec gzip -9 {} \;
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)