void-packages/srcpkgs/EternalTerminal/template

30 lines
810 B
Bash

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