diff options
author | Oleg Titov <oleg.titov@gmail.com> | 2018-12-11 09:57:45 -0600 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-12-22 00:42:44 +0200 |
commit | ed291c9d2647d471e18626cdf6f086a7d842e2e7 (patch) | |
tree | ed4d3a657f6041c4b4736ba1a83af029e24fc820 /testing/xmrig-proxy | |
parent | bf2e2bd340500ab7f097c8d9d34f22ba6928730e (diff) | |
download | aports-ed291c9d2647d471e18626cdf6f086a7d842e2e7.tar.bz2 aports-ed291c9d2647d471e18626cdf6f086a7d842e2e7.tar.xz |
testing/xmrig-proxy: new aport
https://github.com/xmrig/xmrig-proxy
XMRig Proxy is a high performance Monero (XMR) Stratum proxy
Diffstat (limited to 'testing/xmrig-proxy')
-rw-r--r-- | testing/xmrig-proxy/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/xmrig-proxy/APKBUILD b/testing/xmrig-proxy/APKBUILD new file mode 100644 index 0000000000..d47ddbd97f --- /dev/null +++ b/testing/xmrig-proxy/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Oleg Titov <oleg.titov@gmail.com> +# Maintainer: Oleg Titov <oleg.titov@gmail.com> + +pkgname=xmrig-proxy +pkgver=2.8.1 +pkgrel=0 +pkgdesc="XMRig Proxy is a high performance Monero (XMR) Stratum protocol proxy" +url="https://github.com/xmrig/xmrig-proxy" +arch="all" +license="GPL-3.0" +#depends="libuv libmicrohttpd openssl libuuid" +makedepends="cmake libuv-dev libmicrohttpd-dev openssl-dev util-linux-dev" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/xmrig/xmrig-proxy/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + mkdir build + cd build + cmake .. + make +} + +check() { + cd "$builddir"/build + ./xmrig-proxy --version +} + +package() { + install -Dm 755 build/xmrig-proxy $pkgdir/usr/bin/xmrig-proxy + + install -Dm 644 -t "$pkgdir"/usr/share/licenses/$pkgname/ LICENSE + install -Dm 644 -t "$pkgdir"/usr/share/doc/$pkgname/ README.md +} + +sha512sums="12e476eee2c85d58881d5a4b2cd6efe5807531cf5c20cd17932bb6c1d9f98dc2aea65c3273a25f59f420321b876564639964b492b1f3df6da46d865ddad14e7b xmrig-proxy-2.8.1.tar.gz" |