PopCorn: remove nocross and use go on musl crosstargets
This commit is contained in:
parent
0b13497597
commit
86b7c62b9b
1 changed files with 5 additions and 2 deletions
|
@ -8,7 +8,7 @@ go_package="${go_import_path}/cmd/popcorn
|
||||||
${go_import_path}/cmd/popcornctl
|
${go_import_path}/cmd/popcornctl
|
||||||
${go_import_path}/cmd/statrepo
|
${go_import_path}/cmd/statrepo
|
||||||
${go_import_path}/cmd/pqueryd"
|
${go_import_path}/cmd/pqueryd"
|
||||||
hostmakedepends="gcc-go-tools git"
|
hostmakedepends="git"
|
||||||
depends="snooze"
|
depends="snooze"
|
||||||
short_desc="Package statistics system"
|
short_desc="Package statistics system"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
|
@ -16,7 +16,10 @@ license="MIT"
|
||||||
homepage="https://github.com/the-maldridge/PopCorn"
|
homepage="https://github.com/the-maldridge/PopCorn"
|
||||||
distfiles="https://github.com/the-maldridge/PopCorn/archive/v${version}.tar.gz"
|
distfiles="https://github.com/the-maldridge/PopCorn/archive/v${version}.tar.gz"
|
||||||
checksum=b25589802c5e1c277d2e9536add44704a012359b02d7fb4be1b4b0f11eb10d93
|
checksum=b25589802c5e1c277d2e9536add44704a012359b02d7fb4be1b4b0f11eb10d93
|
||||||
nocross=yes
|
|
||||||
|
if [ -z "$CROSS_BUILD" -o "$XBPS_TARGET_LIBC" != "musl" ]; then
|
||||||
|
hostmakedepends+=" gcc-go-tools"
|
||||||
|
fi
|
||||||
|
|
||||||
system_accounts="_popcorn"
|
system_accounts="_popcorn"
|
||||||
_popcorn_homedir="/var/lib/popcorn"
|
_popcorn_homedir="/var/lib/popcorn"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue