summaryrefslogtreecommitdiff
path: root/network/tmate/tmate.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/tmate/tmate.SlackBuild')
-rw-r--r--network/tmate/tmate.SlackBuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/network/tmate/tmate.SlackBuild b/network/tmate/tmate.SlackBuild
index 8557370605..62847d8aa5 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