2018-09-15 01:47:10 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://tsl0922.github.io/ttyd/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Command-line tool for sharing terminal over the web"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-01-07 15:47:37 +01:00
|
|
|
TERMUX_PKG_VERSION=1.6.3
|
2021-10-06 14:51:39 +02:00
|
|
|
TERMUX_PKG_REVISION=4
|
2018-09-15 01:47:10 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/tsl0922/ttyd/archive/$TERMUX_PKG_VERSION.tar.gz
|
2021-01-07 15:47:37 +01:00
|
|
|
TERMUX_PKG_SHA256=1116419527edfe73717b71407fb6e06f46098fc8a8e6b0bb778c4c75dc9f64b9
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-07-20 19:24:34 +02:00
|
|
|
TERMUX_PKG_DEPENDS="json-c, libuv, libwebsockets, zlib, libcap"
|
2018-09-22 21:27:52 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_XXD=$TERMUX_PKG_TMPDIR/xxd"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
termux_download \
|
|
|
|
https://raw.githubusercontent.com/vim/vim/v8.1.0427/src/xxd/xxd.c \
|
|
|
|
$TERMUX_PKG_CACHEDIR/xxd.c \
|
|
|
|
021b38e02cd31951a80ef5185271d71f2def727eb8ff65b7a07aecfbd688b8e1
|
|
|
|
gcc $TERMUX_PKG_CACHEDIR/xxd.c -o $TERMUX_PKG_TMPDIR/xxd
|
|
|
|
}
|