void-packages/srcpkgs/EternalTerminal/template

30 lines
794 B
Bash

# Template file for 'EternalTerminal'
pkgname=EternalTerminal
version=6.0.4
revision=1
wrksrc="${pkgname}-et-v${version}"
build_style=cmake
hostmakedepends="protobuf"
makedepends="gflags-devel libsodium-devel protobuf-devel"
depends="gflags-devel libsodium-devel protobuf-devel"
short_desc="Re-Connectable secure remote shell"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="Apache-2.0"
homepage="https://eternalterminal.dev/"
distfiles="https://github.com/MisterTea/EternalTerminal/archive/et-v${version}.tar.gz"
checksum=410dd72ade571c32c83302d38fba76e2c9dbe9916b61a4e9f673cb110f43c328
system_accounts="_eternal"
LDFLAGS="-lgflags"
case $XBPS_TARGET_MACHINE in
*-musl)
configure_args="-DEXECINFO=TRUE"
makedepends+=" libexecinfo-devel";;
esac
post_install() {
vsv etserver
}