You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
759 B
17 lines
759 B
TERMUX_PKG_HOMEPAGE=https://tsl0922.github.io/ttyd/
|
|
TERMUX_PKG_DESCRIPTION="Command-line tool for sharing terminal over the web"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_VERSION=1.4.4
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SHA256=b910a33ddaa474c369991ba345187a8a2f4aa420389083671ba3a6c305a491d6
|
|
TERMUX_PKG_SRCURL=https://github.com/tsl0922/ttyd/archive/$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_DEPENDS="json-c, libwebsockets"
|
|
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
|
|
}
|
|
|