void-packages/srcpkgs/yggdrasil/template

31 lines
840 B
Bash
Raw Normal View History

2018-11-24 14:38:05 +00:00
# Template file for 'yggdrasil'
pkgname=yggdrasil
2018-12-18 09:50:39 +00:00
version=0.3.1
2018-11-24 14:38:05 +00:00
revision=1
wrksrc="yggdrasil-go-${version}"
build_style=go
go_import_path=github.com/yggdrasil-network/yggdrasil-go
hostmakedepends="go git"
short_desc="An experiment in scalable routing as an encrypted IPv6 overlay network"
maintainer="Jan Christian Gruenhage <jan.christian@gruenhage.xyz>"
license="LGPL-3.0-only"
homepage="https://yggdrasil-network.github.io/"
distfiles="https://github.com/yggdrasil-network/yggdrasil-go/archive/v${version}.tar.gz"
2018-12-18 14:35:58 +00:00
checksum=1d4b1ab65577d6805bacbba1abd552187f9794c914f72a43c90c78e7cb83feab
2018-11-24 14:38:05 +00:00
do_build() {
PKGNAME=${pkgname} PKGVER=${version} ./build
}
do_install() {
vbin yggdrasil
vsv yggdrasil
}
yggdrasilctl_package() {
short_desc="Administration utility for the yggdrasil node admin API"
pkg_install() {
vbin yggdrasilctl
}
}