aboutsummaryrefslogtreecommitdiff
path: root/libraries/adns/adns.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/adns/adns.SlackBuild')
-rw-r--r--libraries/adns/adns.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/adns/adns.SlackBuild b/libraries/adns/adns.SlackBuild
index 4e073e26cc01..0170604b05b2 100644
--- a/libraries/adns/adns.SlackBuild
+++ b/libraries/adns/adns.SlackBuild
@@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=adns
VERSION=${VERSION:-1.6.0}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -93,9 +93,12 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
-#find $PKG -name \*\.a -type f -delete
+find $PKG -name \*\.a -type f -delete
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \