summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libbluray/libbluray.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libbluray/libbluray.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libbluray/libbluray.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/slackware64-current/source/l/libbluray/libbluray.SlackBuild b/slackware64-current/source/l/libbluray/libbluray.SlackBuild
index 3918325f9..3d062160d 100755
--- a/slackware64-current/source/l/libbluray/libbluray.SlackBuild
+++ b/slackware64-current/source/l/libbluray/libbluray.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libbluray
VERSION=${VERSION:-$(echo libbluray-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d- | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -92,6 +92,9 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
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