void-packages/srcpkgs/flannel/template

22 lines
567 B
Bash
Raw Normal View History

2016-03-01 10:18:42 +01:00
# Template file for 'flannel'
pkgname=flannel
2016-09-23 10:53:43 +02:00
version=0.6.2
2016-08-13 09:10:27 +02:00
revision=1
2016-03-01 10:18:42 +01:00
build_style=go
short_desc="Etcd backed network fabric for containers"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
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"
2016-09-23 10:53:43 +02:00
checksum=40c315ee78e50b97d2e48e5c32e2d07690b7361fe1ca09efe16d3edda4bc7e33
2016-03-01 10:18:42 +01:00
pre_build() {
CGO_CFLAGS="${CGO_CFLAGS/-O2/}" # Disable optimizations because of a cgo bug in Go 1.6
}
post_install() {
vsv flannel
}