summaryrefslogtreecommitdiff
path: root/homebrew/hashcash
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/hashcash')
-rw-r--r--homebrew/hashcash/.beer20
-rw-r--r--homebrew/hashcash/.make.sh-auto2
-rw-r--r--homebrew/hashcash/_metadata/description1
-rw-r--r--homebrew/hashcash/_metadata/homepage1
-rw-r--r--homebrew/hashcash/_metadata/name1
-rw-r--r--homebrew/hashcash/_metadata/version1
-rwxr-xr-xhomebrew/hashcash/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/hashcash/.beer b/homebrew/hashcash/.beer
new file mode 100644
index 000000000..fec946e70
--- /dev/null
+++ b/homebrew/hashcash/.beer
@@ -0,0 +1,20 @@
+{
+ "name": "Hashcash",
+ "description": "Proof-of-work algorithm to counter denial-of-service (DoS) attacks",
+ "url": "http://hashcash.org/source/hashcash-1.22.tgz",
+ "mirror": null,
+ "homepage": "http://hashcash.org",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"make\", \"install\",",
+ "\"PACKAGER=HOMEBREW\",",
+ "\"INSTALL_PATH=#{bin}\",",
+ "\"MAN_INSTALL_PATH=#{man1}\",",
+ "\"DOC_INSTALL_PATH=#{doc}\""
+ ],
+ "version": "1.22",
+ "file": "hashcash.rb"
+} \ No newline at end of file
diff --git a/homebrew/hashcash/.make.sh-auto b/homebrew/hashcash/.make.sh-auto
new file mode 100644
index 000000000..00bed7d98
--- /dev/null
+++ b/homebrew/hashcash/.make.sh-auto
@@ -0,0 +1,2 @@
+pkg:setup
+make DESTDIR=${PKG_DEST} install PACKAGER=HOMEBREW INSTALL_PATH=#{bin} MAN_INSTALL_PATH=#{man1} DOC_INSTALL_PATH=#{doc}
diff --git a/homebrew/hashcash/_metadata/description b/homebrew/hashcash/_metadata/description
new file mode 100644
index 000000000..41567d2e7
--- /dev/null
+++ b/homebrew/hashcash/_metadata/description
@@ -0,0 +1 @@
+Proof-of-work algorithm to counter denial-of-service (DoS) attacks
diff --git a/homebrew/hashcash/_metadata/homepage b/homebrew/hashcash/_metadata/homepage
new file mode 100644
index 000000000..ab14666ee
--- /dev/null
+++ b/homebrew/hashcash/_metadata/homepage
@@ -0,0 +1 @@
+http://hashcash.org
diff --git a/homebrew/hashcash/_metadata/name b/homebrew/hashcash/_metadata/name
new file mode 100644
index 000000000..f7a538cda
--- /dev/null
+++ b/homebrew/hashcash/_metadata/name
@@ -0,0 +1 @@
+Hashcash
diff --git a/homebrew/hashcash/_metadata/version b/homebrew/hashcash/_metadata/version
new file mode 100644
index 000000000..71f7f51df
--- /dev/null
+++ b/homebrew/hashcash/_metadata/version
@@ -0,0 +1 @@
+1.22
diff --git a/homebrew/hashcash/download.sh b/homebrew/hashcash/download.sh
new file mode 100755
index 000000000..74d66152a
--- /dev/null
+++ b/homebrew/hashcash/download.sh
@@ -0,0 +1 @@
+wget http://hashcash.org/source/hashcash-1.22.tgz \ No newline at end of file