void-packages/srcpkgs/zerotier-one/template
Jürgen Buchmüller 5573523ac9
zerotier-one: fix cross targets
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-08-10 07:43:59 +02:00

22 lines
584 B
Bash

# Template file for 'zerotier'
pkgname=zerotier-one
version=1.4.0.1
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=39f5cdbe589ff550dca9d407f579e87b55a750dbb46458914476fa7dbafb8214
pre_install() {
sed -i 's/sbin/bin/g' make-linux.mk
}
post_install() {
vsv zerotier
}