From 8336b2b2d084f94b77951c88830f32ab54d29bbc Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 22 May 2010 13:32:02 +0000 Subject: We do not want these useless binaries polluting our bindir --- libva/build/libva.SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3-65-gdbad