diff options
Diffstat (limited to 'network/autossh/autossh.SlackBuild')
-rw-r--r-- | network/autossh/autossh.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/network/autossh/autossh.SlackBuild b/network/autossh/autossh.SlackBuild index a37ef9efacf9d..3c7dc691b4bbb 100644 --- a/network/autossh/autossh.SlackBuild +++ b/network/autossh/autossh.SlackBuild @@ -4,7 +4,7 @@ # Copyright (c) 2007, Written by Mark Walling <mark@markwalling.com> # Copyright (C) 2008 paul wisehart wise@lupulin.net -# Copyright (C) 2018 Matteo Bernardini <ponce@slackbuilds.org> +# Copyright (C) 2018,2019 Matteo Bernardini <ponce@slackbuilds.org> # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -27,7 +27,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=autossh -VERSION=${VERSION:-1.4f} +VERSION=${VERSION:-1.4g} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -84,18 +84,16 @@ CXXFLAGS="$SLKCFLAGS" \ make -mkdir -p $PKG/usr/bin -install -m 0755 autossh $PKG/usr/bin -strip --strip-unneeded $PKG/usr/bin/autossh +install -D -m 0755 $PRGNAM $PKG/usr/bin/$PRGNAM +strip --strip-unneeded $PKG/usr/bin/$PRGNAM mkdir -p $PKG/usr/man/man1 cat autossh.1 | gzip -9c > $PKG/usr/man/man1/autossh.1.gz -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples cp -a CHANGES README $PKG/usr/doc/$PRGNAM-$VERSION +install -m 0755 autossh.host rscreen $PKG/usr/doc/$PRGNAM-$VERSION/examples/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples -cp -a autossh.host rscreen $PKG/usr/doc/$PRGNAM-$VERSION/examples mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |