21 lines
518 B
Bash
21 lines
518 B
Bash
# Template file for 'flannel'
|
|
pkgname=flannel
|
|
version=0.16.2
|
|
revision=1
|
|
build_style=go
|
|
short_desc="Etcd backed network fabric for containers"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
depends="etcd"
|
|
license="Apache-2.0"
|
|
go_import_path="github.com/coreos/flannel"
|
|
homepage="https://$go_import_path"
|
|
distfiles="$homepage/archive/v${version}.tar.gz"
|
|
checksum=50cda5a51e46e4c6d5676b6db664d23c00bdd6454a1d8f97d10f057f92f44885
|
|
|
|
post_extract() {
|
|
ln -s $wrksrc vendor/$go_import_path
|
|
}
|
|
|
|
post_install() {
|
|
vsv flannel
|
|
}
|