void-packages/srcpkgs/zerotier-one/template

23 lines
583 B
Bash

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