summaryrefslogtreecommitdiff
path: root/source/l/libgtop/libgtop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libgtop/libgtop.SlackBuild')
-rwxr-xr-xsource/l/libgtop/libgtop.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/l/libgtop/libgtop.SlackBuild b/source/l/libgtop/libgtop.SlackBuild
index d1a9a823..787d2339 100755
--- a/source/l/libgtop/libgtop.SlackBuild
+++ b/source/l/libgtop/libgtop.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libgtop
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -102,6 +102,9 @@ CXXFLAGS="$SLKCFLAGS" \
make $NUMJOBS || make || exit 1
make install DESTDIR=$PKG || exit 1
+# Don't ship .la files:
+rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null