void-packages/srcpkgs/ttyd/template
2020-01-29 19:30:14 +01:00

21 lines
605 B
Bash

# Template file for 'ttyd'
pkgname=ttyd
version=1.5.2
revision=1
build_style=cmake
hostmakedepends="pkg-config xxd"
makedepends="libwebsockets-devel json-c-devel libressl-devel zlib-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=b5b62ec2ce08add0173e6d1dfdd879e55f02f9490043e89f389981a62e87d376
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
post_install() {
vlicense LICENSE
}