summaryrefslogtreecommitdiffstats
path: root/network/putty/putty.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/putty/putty.SlackBuild')
-rw-r--r--network/putty/putty.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/network/putty/putty.SlackBuild b/network/putty/putty.SlackBuild
index 9ad27836a5..3babb34040 100644
--- a/network/putty/putty.SlackBuild
+++ b/network/putty/putty.SlackBuild
@@ -7,9 +7,12 @@
# Modified by Michael Wagner <lapinours@web.de>
# as putty now uses autoconf.
+# Maintained by Binh Nguyen <binhvng@gmail.com>
+# from version 0.62
+
PRGNAM=putty
-VERSION=0.60
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.62}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,9 +69,13 @@ cd unix
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
+
+ # Don't treat all warnings as errors
+ sed -i 's/-Werror//' Makefile*
+
make
make install DESTDIR=$PKG
-cd -
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true