PopCorn: remove nocross and use go on musl crosstargets

This commit is contained in:
q66 2021-01-21 12:16:46 +01:00
parent 0b13497597
commit 86b7c62b9b

View File

@ -8,7 +8,7 @@ go_package="${go_import_path}/cmd/popcorn
${go_import_path}/cmd/popcornctl
${go_import_path}/cmd/statrepo
${go_import_path}/cmd/pqueryd"
hostmakedepends="gcc-go-tools git"
hostmakedepends="git"
depends="snooze"
short_desc="Package statistics system"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
@ -16,7 +16,10 @@ license="MIT"
homepage="https://github.com/the-maldridge/PopCorn"
distfiles="https://github.com/the-maldridge/PopCorn/archive/v${version}.tar.gz"
checksum=b25589802c5e1c277d2e9536add44704a012359b02d7fb4be1b4b0f11eb10d93
nocross=yes
if [ -z "$CROSS_BUILD" -o "$XBPS_TARGET_LIBC" != "musl" ]; then
hostmakedepends+=" gcc-go-tools"
fi
system_accounts="_popcorn"
_popcorn_homedir="/var/lib/popcorn"