30 lines
877 B
Bash
30 lines
877 B
Bash
# Template file for 'yggdrasil'
|
|
pkgname=yggdrasil
|
|
version=0.4.7
|
|
revision=2
|
|
build_style=go
|
|
go_import_path=github.com/yggdrasil-network/yggdrasil-go
|
|
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/"
|
|
changelog="https://raw.githubusercontent.com/yggdrasil-network/yggdrasil-go/develop/CHANGELOG.md"
|
|
distfiles="https://github.com/yggdrasil-network/yggdrasil-go/archive/v${version}.tar.gz"
|
|
checksum=47429f75b87d9b2450108471991e84c90d748606642e8778e9f578485b05a56f
|
|
|
|
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
|
|
}
|
|
}
|