aboutsummaryrefslogtreecommitdiff
path: root/libraries/SDL_perl
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:23 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 22:23:23 +0200
commit9d910362a5084748a059489a9f443c324433431b (patch)
treea4fdd4a19645f269e270ad7a40adcca90f5bfe1b /libraries/SDL_perl
parentfe5877350e4f27878ba7d4fc46c3175b07955117 (diff)
libraries/SDL_perl: Updated for version 1.20.0
Diffstat (limited to 'libraries/SDL_perl')
-rw-r--r--libraries/SDL_perl/SDL_perl.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/SDL_perl/SDL_perl.SlackBuild b/libraries/SDL_perl/SDL_perl.SlackBuild
index 2cf3a39e32e19..f8f307e5f4cf0 100644
--- a/libraries/SDL_perl/SDL_perl.SlackBuild
+++ b/libraries/SDL_perl/SDL_perl.SlackBuild
@@ -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
)