void-packages/srcpkgs/yggdrasil/template
2019-02-22 02:06:32 -03:00

30 lines
837 B
Bash

# Template file for 'yggdrasil'
pkgname=yggdrasil
version=0.3.3
revision=1
wrksrc="yggdrasil-go-${version}"
build_style=go
go_import_path=github.com/yggdrasil-network/yggdrasil-go
hostmakedepends="go git"
short_desc="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"
checksum=f76dc1343b3ba555b2d1f43134b3f73fb9516095ddbea7c2387f8af8c57e1e8e
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
}
}