2016-03-01 10:18:42 +01:00
|
|
|
# Template file for 'flannel'
|
|
|
|
pkgname=flannel
|
2017-04-20 18:41:30 +02:00
|
|
|
version=0.7.1
|
2017-05-25 11:49:27 +02:00
|
|
|
revision=2
|
2016-03-01 10:18:42 +01:00
|
|
|
build_style=go
|
|
|
|
short_desc="Etcd backed network fabric for containers"
|
2017-04-06 18:52:20 +02:00
|
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
2016-03-01 10:18:42 +01:00
|
|
|
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"
|
2017-05-24 19:15:25 +02:00
|
|
|
checksum=3c3148eac3537fba6c5377922366ed36b1415d20111434172c5c42fec74db366
|
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
|
|
|
|
}
|