aboutsummaryrefslogtreecommitdiff
path: root/network/sslscan/sslscan.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/sslscan/sslscan.SlackBuild')
-rw-r--r--network/sslscan/sslscan.SlackBuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/network/sslscan/sslscan.SlackBuild b/network/sslscan/sslscan.SlackBuild
index 8b589fbd7ce8f..8bfc915248140 100644
--- a/network/sslscan/sslscan.SlackBuild
+++ b/network/sslscan/sslscan.SlackBuild
@@ -33,7 +33,7 @@
# 2014-10-23 - changed to build rbsec's fork from github
PRGNAM=sslscan
-VERSION=${VERSION:-1.11.11}
+VERSION=${VERSION:-1.11.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -89,18 +89,15 @@ find -L . \
mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-sed -i "s/^\(CFLAGS.*$\)/\1 $SLKCFLAGS/" Makefile
-
-sed -i "s|^\(PREFIX\).*$|\1 = $PKG/usr|" Makefile
-sed -i "s|^\(MANDIR\).*$|\1 = $PKG/usr/man|" Makefile
+sed -i "s|share/man|man|" Makefile
if [ "$STATIC" = "yes" ] ; then
- make -j1 static
+ CLFAGS=$SLKCFLAGS make -j1 static
else
- make -j1
+ CLFAGS=$SLKCFLAGS make -j1
fi
-make install
+make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true