summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-05-22 13:32:02 +0000
committer Eric Hameleers <alien@slackware.com>2010-05-22 13:32:02 +0000
commit8336b2b2d084f94b77951c88830f32ab54d29bbc (patch)
tree5a8597a6af61939719b354734628af19bf63212c
parent63b86664d67ab7a10cfe2d7127caec50f8c98c48 (diff)
downloadasb-8336b2b2d084f94b77951c88830f32ab54d29bbc.tar.gz
asb-8336b2b2d084f94b77951c88830f32ab54d29bbc.tar.xz
We do not want these useless binaries polluting our bindir
-rwxr-xr-xlibva/build/libva.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/libva/build/libva.SlackBuild b/libva/build/libva.SlackBuild
index 181f18d6..d6628271 100755
--- a/libva/build/libva.SlackBuild
+++ b/libva/build/libva.SlackBuild
@@ -151,6 +151,9 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
echo Building ...
+## Slackware uses a newer aclocal:
+autoreconf -vif
+
LDFLAGS="$SLKLDFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
@@ -173,6 +176,9 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
make DESTDIR=$PKG install 2>&1 | tee $OUTPUT/install-${PRGNAM}.log
+# Remove useless binaries:
+rm -f $PKG/usr/bin/{h264encode,mpeg2vldemo,putsurface} $PKG/usr/bin/test_*
+
# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION || true