monero: update to 0.17.1.0.
This commit is contained in:
parent
d849afce11
commit
e7090551f4
1 changed files with 8 additions and 10 deletions
|
@ -1,18 +1,17 @@
|
|||
# Template file for 'monero'
|
||||
pkgname=monero
|
||||
version=0.17.0.1
|
||||
version=0.17.1.0
|
||||
revision=1
|
||||
_randomx_version="1.1.8"
|
||||
# the revision monero uses as a submodule for the specific version
|
||||
_rapidjson_gitrev="129d19ba7f496df5e33658527a7158c79b99c21c"
|
||||
_supercop_gitrev="633500ad8c8759995049ccd022107d1fa8a1bbc9"
|
||||
build_style=cmake
|
||||
configure_args="-DBUILD_GUI_DEPS=ON"
|
||||
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 tar"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libressl-devel boost-devel libldns-devel libunwind-devel
|
||||
readline-devel unbound-devel miniupnpc-devel expat-devel
|
||||
cppzmq czmq-devel libsodium-devel"
|
||||
|
@ -24,11 +23,11 @@ distfiles="https://github.com/monero-project/monero/archive/v${version}.tar.gz
|
|||
https://github.com/tevador/RandomX/archive/v${_randomx_version}.tar.gz
|
||||
https://github.com/Tencent/rapidjson/archive/${_rapidjson_gitrev}.tar.gz
|
||||
https://github.com/monero-project/supercop/archive/${_supercop_gitrev}.tar.gz"
|
||||
checksum="490f59c669992fc9bc74103dc2c82c968d07fecb6e2831d2d356575dc78862fb
|
||||
checksum="4a8e5a4c256b20da69e7d4c50657ddb968669e5cbc449f60cd555108fe8cafd1
|
||||
f982a12d18b1d260bef2a1d3c46ae4902975fbf63abb38ca6413c96d1778db3a
|
||||
44b007d419ac21b6affec58991e865ee572346ead19b73cf1c3e4e11c7a81273
|
||||
b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7"
|
||||
skip_extraction="v${_randomx_version}.tar.gz ${_rapidjson_gitrev}.tar.gz"
|
||||
skip_extraction="v${_randomx_version}.tar.gz ${_rapidjson_gitrev}.tar.gz ${_supercop_gitrev}.tar.gz"
|
||||
system_accounts="monero"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
@ -43,7 +42,7 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
mips*) configure_args+=" -DARCH=mipsr32 -DNO_AES=ON" ;;
|
||||
ppc64le*) configure_args+=" -DARCH=ppc64le" ;;
|
||||
ppc64*) configure_args+=" -DARCH=ppc64" ;;
|
||||
ppc*) configure_arch+=" -DARCH=ppc" ;;
|
||||
ppc*) configure_args+=" -DARCH=ppc" ;;
|
||||
*) configure_args+=" -DARCH=default" ;;
|
||||
esac
|
||||
|
||||
|
@ -57,11 +56,11 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
post_extract() {
|
||||
tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${_randomx_version}.tar.gz \
|
||||
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/v${_randomx_version}.tar.gz \
|
||||
--strip-components=1 -C ${wrksrc}/external/randomx
|
||||
tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_rapidjson_gitrev}.tar.gz \
|
||||
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_rapidjson_gitrev}.tar.gz \
|
||||
--strip-components=1 -C ${wrksrc}/external/rapidjson
|
||||
tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_supercop_gitrev}.tar.gz \
|
||||
bsdtar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_supercop_gitrev}.tar.gz \
|
||||
--strip-components=1 -C ${wrksrc}/external/supercop
|
||||
}
|
||||
|
||||
|
@ -95,6 +94,5 @@ monero-devel_package() {
|
|||
pkg_install() {
|
||||
vlicense LICENSE
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue