summaryrefslogtreecommitdiff
path: root/homebrew/sha2
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sha2')
-rw-r--r--homebrew/sha2/.beer18
-rw-r--r--homebrew/sha2/.make.sh-auto4
-rw-r--r--homebrew/sha2/_metadata/description1
-rw-r--r--homebrew/sha2/_metadata/homepage1
-rw-r--r--homebrew/sha2/_metadata/name1
-rw-r--r--homebrew/sha2/_metadata/version1
-rwxr-xr-xhomebrew/sha2/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/sha2/.beer b/homebrew/sha2/.beer
new file mode 100644
index 000000000..aa97cd39a
--- /dev/null
+++ b/homebrew/sha2/.beer
@@ -0,0 +1,18 @@
+{
+ "name": "Sha2",
+ "description": "Implementation of SHA-256, SHA-384, and SHA-512 hash algorithms",
+ "url": "https://www.aarongifford.com/computers/sha2-1.0.1.tgz",
+ "mirror": null,
+ "homepage": "https://www.aarongifford.com/computers/sha.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system ENV.cc, \"-o\", \"sha2\", \"sha2prog.c\", \"sha2.c\"",
+ "system \"perl\", \"sha2test.pl\"",
+ "bin.install \"sha2\""
+ ],
+ "version": "1.0.1",
+ "file": "sha2.rb"
+} \ No newline at end of file
diff --git a/homebrew/sha2/.make.sh-auto b/homebrew/sha2/.make.sh-auto
new file mode 100644
index 000000000..70d125e11
--- /dev/null
+++ b/homebrew/sha2/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+ENV.cc -o sha2 sha2prog.c sha2.c
+perl sha2test.pl
+bin.install "sha2"
diff --git a/homebrew/sha2/_metadata/description b/homebrew/sha2/_metadata/description
new file mode 100644
index 000000000..44a2892b5
--- /dev/null
+++ b/homebrew/sha2/_metadata/description
@@ -0,0 +1 @@
+Implementation of SHA-256, SHA-384, and SHA-512 hash algorithms
diff --git a/homebrew/sha2/_metadata/homepage b/homebrew/sha2/_metadata/homepage
new file mode 100644
index 000000000..01efd37e6
--- /dev/null
+++ b/homebrew/sha2/_metadata/homepage
@@ -0,0 +1 @@
+https://www.aarongifford.com/computers/sha.html
diff --git a/homebrew/sha2/_metadata/name b/homebrew/sha2/_metadata/name
new file mode 100644
index 000000000..df82aa924
--- /dev/null
+++ b/homebrew/sha2/_metadata/name
@@ -0,0 +1 @@
+Sha2
diff --git a/homebrew/sha2/_metadata/version b/homebrew/sha2/_metadata/version
new file mode 100644
index 000000000..7dea76edb
--- /dev/null
+++ b/homebrew/sha2/_metadata/version
@@ -0,0 +1 @@
+1.0.1
diff --git a/homebrew/sha2/download.sh b/homebrew/sha2/download.sh
new file mode 100755
index 000000000..2bd1d1ac8
--- /dev/null
+++ b/homebrew/sha2/download.sh
@@ -0,0 +1 @@
+wget https://www.aarongifford.com/computers/sha2-1.0.1.tgz \ No newline at end of file