void-packages/srcpkgs/ttyd/template

23 lines
617 B
Bash

# Template file for 'ttyd'
pkgname=ttyd
version=1.7.3
revision=2
build_style=cmake
hostmakedepends="pkg-config xxd"
makedepends="libwebsockets-devel json-c-devel openssl-devel zlib-devel
libuv-devel"
short_desc="Share your terminal over the web"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MIT"
homepage="https://tsl0922.github.io/ttyd/"
distfiles="https://github.com/tsl0922/ttyd/archive/${version}.tar.gz"
checksum=c9cf5eece52d27c5d728000f11315d36cb400c6948d1964a34a7eae74b454099
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() {
vlicense LICENSE
}