ipfs-cluster: fix musl build
This commit is contained in:
parent
637c8a1cd5
commit
323056488d
1 changed files with 4 additions and 8 deletions
|
@ -1,11 +1,11 @@
|
|||
# Template file for 'ipfs-cluster'
|
||||
pkgname=ipfs-cluster
|
||||
version=0.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=go
|
||||
go_import_path="github.com/ipfs/ipfs-cluster"
|
||||
go_package="github.com/ipfs/ipfs-cluster/ipfs-cluster-ctl github.com/ipfs/ipfs-cluster/ipfs-cluster-service"
|
||||
hostmakedepends="git wget"
|
||||
hostmakedepends="git wget gx-go"
|
||||
depends="go-ipfs"
|
||||
short_desc="Collective pinning and composition for IPFS"
|
||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||
|
@ -14,13 +14,9 @@ homepage="https://github.com/ipfs/ipfs-cluster"
|
|||
distfiles="https://github.com/ipfs/ipfs-cluster/archive/v${version}.tar.gz"
|
||||
checksum=cd7ac1c97f5365a5592d502d7b21dfe8453afea37331028dcce98c1a6534b4f4
|
||||
|
||||
case "${XBPS_TARGET_MACHINE}" in
|
||||
*-musl) broken="Downloads gx-go and can't execute it";;
|
||||
esac
|
||||
|
||||
# regular go mechanisms don't work, and upstream says to do this
|
||||
pre_build() {
|
||||
make deps
|
||||
gx install --global
|
||||
gx-go rewrite
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue