void-packages/srcpkgs/zerotier-one/template
Michael Aldridge 2bbaeb178d zerotier-one: update to 1.2.4
Closes: #6452 [via git-merge-pr]
2017-05-19 16:30:33 +02:00

26 lines
638 B
Bash

# Template file for 'zerotier'
pkgname=zerotier-one
version=1.2.4
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=9f275b3732b721f02cc4b8df75b51e6a8fb56dfe1a542a7bd681538d852b0358
do_build() {
make all ZT_ENABLE_NETWORK_CONTROLLER=1
}
pre_install() {
sed -i 's/sbin/bin/g' make-linux.mk
}
post_install() {
vsv zerotier
}