3092073cb6
[ci skip]
23 lines
591 B
Bash
23 lines
591 B
Bash
# Template file for 'RandomX'
|
|
pkgname=RandomX
|
|
version=1.1.7
|
|
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=31741ede58267c84c1223370a4d18e32fad26a9652371d36da7e45c0c584ae1a
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
ppc64*) ;;
|
|
arm*|aarch64*|ppc*)
|
|
CFLAGS="-Wl,-latomic"
|
|
makedepends="libatomic-devel"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|