void-packages/srcpkgs/zerotier-one/template

23 lines
582 B
Bash

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