From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- repo/hashcash/hashcash.xibuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 repo/hashcash/hashcash.xibuild (limited to 'repo/hashcash/hashcash.xibuild') 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 +} + -- cgit v1.2.1