summaryrefslogtreecommitdiff
path: root/repo/hashcash/hashcash.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/hashcash/hashcash.xibuild')
-rw-r--r--repo/hashcash/hashcash.xibuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/repo/hashcash/hashcash.xibuild b/repo/hashcash/hashcash.xibuild
new file mode 100644
index 0000000..c80a1ac
--- /dev/null
+++ b/repo/hashcash/hashcash.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="hashcash"
+DESC="Proof-of-work algorithm for denial-of-service counter measures"
+
+MAKEDEPS=""
+
+PKG_VER=1.22
+SOURCE="http://www.hashcash.org/source/hashcash-$PKG_VER.tgz"
+
+build() {
+ make
+}
+
+check() {
+ ./test.sh
+}
+
+package() {
+ make \
+ INSTALL_PATH="$PKG_DEST/usr/bin" \
+ MAN_INSTALL_PATH="$PKG_DEST/usr/share/man/man1" \
+ DOC_INSTALL_PATH="$PKG_DEST/usr/share/doc/hashcash" \
+ install
+}
+