summaryrefslogtreecommitdiff
path: root/source/a/lrzip/lrzip.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/lrzip/lrzip.SlackBuild')
-rwxr-xr-xsource/a/lrzip/lrzip.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/a/lrzip/lrzip.SlackBuild b/source/a/lrzip/lrzip.SlackBuild
index b45a8a5a..5cc09be6 100755
--- a/source/a/lrzip/lrzip.SlackBuild
+++ b/source/a/lrzip/lrzip.SlackBuild
@@ -82,6 +82,8 @@ CFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+rm -f $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
if [ -r doc/lrzip.conf.example ]; then
mkdir -p $PKG/etc
cp -a doc/lrzip.conf.example $PKG/etc/lrzip.conf.new
@@ -89,8 +91,11 @@ if [ -r doc/lrzip.conf.example ]; then
chmod 644 $PKG/etc/lrzip.conf.new
fi
-find $PKG | xargs file | grep -e "executable" -e "shared object" \
- | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+# Strip binaries:
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
# Compress and link manpages, if any:
if [ -d $PKG/usr/man ]; then