void-packages/srcpkgs/tuntox/template
2019-06-30 15:19:48 +02:00

24 lines
750 B
Bash

# Template file for 'tuntox'
pkgname=tuntox
version=0.0.9
revision=2
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="toxcore-devel libevent-devel libsodium-devel"
make_build_args="tuntox_nostatic"
short_desc="Tunnel TCP connections over the Tox protocol"
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/gjedeer/tuntox"
changelog="https://github.com/gjedeer/tuntox/releases"
distfiles="https://github.com/gjedeer/tuntox/archive/${version}.tar.gz"
checksum=b9036e88c96d2a9432f0c9a1206b9ad55b9eaccb2d1382c1e11f30ef947d38ff
system_accounts="tuntox"
make_dirs="/etc/tuntox 0700 tuntox tuntox"
do_install() {
vbin tuntox_nostatic tuntox
vbin scripts/tokssh
vsv tuntox
}