void-packages/srcpkgs/flannel/template

22 lines
567 B
Bash
Raw Normal View History

2016-03-01 09:18:42 +00:00
# Template file for 'flannel'
pkgname=flannel
2016-08-29 22:59:27 +00:00
version=0.6.1
2016-08-13 07:10:27 +00:00
revision=1
2016-03-01 09:18:42 +00: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-08-29 22:59:27 +00:00
checksum=a2bb6bff1adb716e5913773cc7fc64e841b08fac5f00717b81496586a877f187
2016-03-01 09:18:42 +00:00
pre_build() {
CGO_CFLAGS="${CGO_CFLAGS/-O2/}" # Disable optimizations because of a cgo bug in Go 1.6
}
post_install() {
vsv flannel
}