network/tmate: Updated for version 2.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
parent
ceb971a4a5
commit
1a443f1439
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="tmate"
|
||||
VERSION="1.8.10"
|
||||
VERSION="2.1"
|
||||
HOMEPAGE="http://tmate.io/"
|
||||
DOWNLOAD="https://github.com/nviennot/tmate/archive/1.8.10.tar.gz"
|
||||
MD5SUM="bfe6cc7e7e0232c7199a83f5c06494ab"
|
||||
DOWNLOAD="https://github.com/nviennot/tmate/archive/2.1/tmate-2.1.tar.gz"
|
||||
MD5SUM="246f2464bc51c1df517069cbc3e882b5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue