diff options
author | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
commit | 0d37a1ef234c38b27faba43bc3a22f985d311deb (patch) | |
tree | dde8df9f508e7323c3d7df599ceade7705c40acd /repo/hashcash/hashcash.xibuild | |
parent | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff) |
Remove all firmware
Diffstat (limited to 'repo/hashcash/hashcash.xibuild')
-rw-r--r-- | repo/hashcash/hashcash.xibuild | 26 |
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 +} + |