libraries/SDL_perl: Updated for version 1.20.0

This commit is contained in:
Erik Hanson 2010-05-11 22:23:23 +02:00 committed by Michiel van Wessem
parent fe5877350e
commit 9d910362a5

View file

@ -11,6 +11,7 @@ VERSION=1.20.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -36,10 +37,10 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" ./configure || exit 1
make || exit 1
make install DESTDIR=$PKG || exit 1
make install_vendor DESTDIR=$PKG || exit 1
( 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
)