go-ipfs: update to 0.4.11.

Dynamic plugin loader disabled for cross builds.
This commit is contained in:
Christopher Brannon 2017-10-01 07:13:41 -07:00 committed by Michael Gehring
parent ef5a130211
commit 169f7f530a

View file

@ -1,22 +1,26 @@
# Template file for 'go-ipfs'
pkgname=go-ipfs
version=0.4.10
revision=3
version=0.4.11
revision=1
create_wrksrc=yes
build_wrksrc=${pkgname}-${version}
build_style=go
hostmakedepends="gx-go"
go_import_path="github.com/ipfs/${pkgname}"
go_package="${go_import_path}/cmd/ipfs"
depends="fs-repo-migrations>=1.2.0"
depends="fs-repo-migrations>=1.3.0"
short_desc="Global versioned P2P merkle DAG file system"
maintainer="Christopher Brannon <chris@the-brannons.com>"
license="MIT"
homepage="https://ipfs.io"
distfiles="https://${go_import_path}/archive/v${version}.tar.gz"
checksum="d996f04b86c933626f71c00ba23f87e807d932899625703d7f0cf43133027e4d"
checksum=db763eedbb17162b2f1ec82307d85214da36c97a3fb9633f0b8126b26d9165b2
pre_build() {
# Disable the dynamic plugin loader for now; breaks cross.
if [ "$CROSS_BUILD" ]; then
rm plugin/loader/load_linux.go
fi
gx install
}