void-packages/srcpkgs/zerotier-one/template

27 lines
639 B
Bash

# Template file for 'zerotier'
pkgname=zerotier-one
version=1.1.14
revision=1
wrksrc=ZeroTierOne-${version}
build_style=gnu-makefile
hostmakedepends="nodejs"
makedepends="sqlite-devel"
short_desc="Network Virtualization Everywhere"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="GPL-3"
homepage="https://www.zerotier.com/"
distfiles="https://github.com/zerotier/ZeroTierOne/archive/${version}.tar.gz"
checksum=d206069ad21c665159cdececb0a20a21758849ad73d91234d709962b26f634af
do_build() {
make all ZT_ENABLE_NETWORK_CONTROLLER=1
}
pre_install() {
sed -i 's/sbin/bin/g' make-linux.mk
}
post_install() {
vsv zerotier
}