void-packages/srcpkgs/EternalTerminal/template

30 lines
809 B
Bash

# Template file for 'EternalTerminal'
pkgname=EternalTerminal
version=5.1.9
revision=2
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://mistertea.github.io/EternalTerminal"
distfiles="https://github.com/MisterTea/EternalTerminal/archive/et-v${version}.tar.gz"
checksum=37b9bd33ed3edc88cedf2c4168246e23818ccd4e08731d0698d8d133dd3b1147
system_accounts="_eternal"
LDFLAGS="-lgflags"
case $XBPS_TARGET_MACHINE in
*-musl)
configure_args="-DEXECINFO=TRUE"
makedepends+=" libexecinfo-devel";;
esac
post_install() {
vsv etserver
}