diff options
-rw-r--r-- | libraries/libwebp/libwebp.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libwebp/libwebp.SlackBuild b/libraries/libwebp/libwebp.SlackBuild index f848f821fb..79cba35815 100644 --- a/libraries/libwebp/libwebp.SlackBuild +++ b/libraries/libwebp/libwebp.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=libwebp VERSION=${VERSION:-0.4.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,7 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +make install DESTDIR=$PKG ( cd swig @@ -83,6 +83,9 @@ make install-strip DESTDIR=$PKG fi ) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |