monero: fix build on ppc64

[ci skip]
This commit is contained in:
q66 2019-01-27 03:57:03 +01:00 committed by maxice8
parent 091664fbbe
commit 495802f053

View file

@ -2,23 +2,23 @@
pkgname=monero
version=0.13.0.4
revision=4
conf_files="/etc/monerod.conf"
build_style=cmake
hostmakedepends="pkg-config qt5-host-tools"
configure_args="-DBUILD_GUI_DEPS=ON -DHAVE_LIBRESSL=1"
makedepends="libressl-devel boost-devel libldns-devel libunwind-devel
readline-devel unbound-devel miniupnpc-devel libldns-devel expat-devel
cppzmq czmq-devel rapidjson libsodium-devel"
system_accounts="monero"
conf_files="/etc/monerod.conf"
make_dirs="
/var/lib/monero 0750 monero monero
/var/log/monero 0755 monero monero"
hostmakedepends="pkg-config qt5-host-tools"
makedepends="libressl-devel boost-devel libldns-devel libunwind-devel
readline-devel unbound-devel miniupnpc-devel libldns-devel expat-devel
cppzmq czmq-devel rapidjson libsodium-devel"
short_desc="Private, secure, untraceable, decentralised digital currency"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="BSD-3-Clause"
homepage="https://getmonero.org"
distfiles="https://github.com/monero-project/monero/archive/v${version}.tar.gz"
checksum=93158879f2890021ae75b31f4b81ad8026ce5b626da1f2fc44ab70657bfa512c
system_accounts="monero"
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DTHREADS_PTHREAD_ARG=OFF"
@ -41,6 +41,8 @@ case "$XBPS_TARGET_MACHINE" in
makedepends+=" libatomic-devel"
CFLAGS+=" -latomic"
;;
ppc64*) configure_args+=" -DARCH=ppc64"
;;
*) configure_args+=" -DARCH=default"
;;
esac