diff options
author | David Spencer <baildon.research@googlemail.com> | 2016-05-28 12:05:48 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-29 09:43:06 +0700 |
commit | 1a443f1439f7e3d12286e9d1186096e73e7f7771 (patch) | |
tree | dacf9149587c7b1614fcb58d2419bd54c37fee21 /network/tmate/tmate.SlackBuild | |
parent | ceb971a4a54da20788812daca73f1eab0734f221 (diff) |
network/tmate: Updated for version 2.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'network/tmate/tmate.SlackBuild')
-rw-r--r-- | network/tmate/tmate.SlackBuild | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/network/tmate/tmate.SlackBuild b/network/tmate/tmate.SlackBuild index 8557370605870..62847d8aa5ac7 100644 --- a/network/tmate/tmate.SlackBuild +++ b/network/tmate/tmate.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tmate -VERSION=${VERSION:-1.8.10} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,11 +60,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -if [ -f $CWD/$VERSION.tar.gz ]; then - tar xvf $CWD/$VERSION.tar.gz -else - tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -73,11 +69,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix for gcc-5.2.0 -# "ISO C does not support ‘__FUNCTION__’ predefined identifier" -sed -i -e 's/ -pedantic -pedantic-errors//' \ - libssh/cmake/Modules/DefineCompilerFlags.cmake - ./autogen.sh CFLAGS="$SLKCFLAGS" \ @@ -101,7 +92,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES FAQ README-tmux README.md SYNCING TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES COPYING FAQ README SYNCING TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |