summaryrefslogtreecommitdiff
path: root/repo/util/rhash.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/rhash.xibuild')
-rw-r--r--repo/util/rhash.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/util/rhash.xibuild b/repo/util/rhash.xibuild
new file mode 100644
index 0000000..a35a820
--- /dev/null
+++ b/repo/util/rhash.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+MAKEDEPS="make openssl"
+DEPS="musl"
+
+PKG_VER=1.4.2
+SOURCE=https://downloads.sourceforge.net/rhash/rhash-$PKG_VER-src.tar.gz
+DESC="Utility for calculation and verification of hash sums and magnet links"
+
+build () {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-openssl \
+ --disable-openssl-runtime
+
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}