blob: c80a1ac1c538edda7ec3cad3a3dad8de25609c69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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
}
|