22 lines
518 B
Bash
22 lines
518 B
Bash
# Template file for 'flannel'
|
|
pkgname=flannel
|
|
version=0.20.1
|
|
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=ffe0d936a1f9fbd05757146e234c2bd835928ca2ae258f212aae9947fff55a22
|
|
|
|
post_extract() {
|
|
ln -s $wrksrc vendor/$go_import_path
|
|
}
|
|
|
|
post_install() {
|
|
vsv flannel
|
|
}
|