summaryrefslogtreecommitdiff
path: root/repo/rhash
diff options
context:
space:
mode:
Diffstat (limited to 'repo/rhash')
-rw-r--r--repo/rhash/rhash.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/rhash/rhash.xibuild b/repo/rhash/rhash.xibuild
new file mode 100644
index 0000000..a35a820
--- /dev/null
+++ b/repo/rhash/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
+}