#!/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 }