2018-11-24 15:38:05 +01:00
|
|
|
# Template file for 'yggdrasil'
|
|
|
|
pkgname=yggdrasil
|
2018-12-18 10:50:39 +01:00
|
|
|
version=0.3.1
|
2018-11-24 15:38:05 +01: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 15:35:58 +01:00
|
|
|
checksum=1d4b1ab65577d6805bacbba1abd552187f9794c914f72a43c90c78e7cb83feab
|
2018-11-24 15:38:05 +01: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
|
|
|
|
}
|
|
|
|
}
|