22 lines
578 B
Bash
22 lines
578 B
Bash
# Template file for 'RandomX'
|
|
pkgname=RandomX
|
|
version=1.1.6
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="Proof of work algorithm based on random code execution"
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/tevador/RandomX"
|
|
distfiles="https://github.com/tevador/RandomX/archive/v${version}.tar.gz"
|
|
checksum=cf7946ff5f53401f24146e1472ec54f02338729147fdae091c831920acc390bb
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
arm*|aarch64*|ppc)
|
|
CFLAGS="-Wl,-latomic"
|
|
makedepends="libatomic-devel"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|