summaryrefslogtreecommitdiff
path: root/homebrew/b2sum
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/b2sum
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/b2sum')
-rw-r--r--homebrew/b2sum/.beer18
-rw-r--r--homebrew/b2sum/.make.sh-auto4
-rw-r--r--homebrew/b2sum/_metadata/description1
-rw-r--r--homebrew/b2sum/_metadata/homepage1
-rw-r--r--homebrew/b2sum/_metadata/name1
-rw-r--r--homebrew/b2sum/_metadata/version1
-rwxr-xr-xhomebrew/b2sum/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/b2sum/.beer b/homebrew/b2sum/.beer
new file mode 100644
index 000000000..48fefba5b
--- /dev/null
+++ b/homebrew/b2sum/.beer
@@ -0,0 +1,18 @@
+{
+ "name": "B2sum",
+ "description": "BLAKE2 b2sum reference binary",
+ "url": "https://github.com/BLAKE2/BLAKE2/archive/20160619.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/BLAKE2/BLAKE2",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "cd \"b2sum\" do",
+ "system \"make\", \"NO_OPENMP=1\"",
+ "system \"make\", \"install\", \"PREFIX=#{prefix}\", \"MANDIR=#{man}\""
+ ],
+ "version": "20160619",
+ "file": "b2sum.rb"
+} \ No newline at end of file
diff --git a/homebrew/b2sum/.make.sh-auto b/homebrew/b2sum/.make.sh-auto
new file mode 100644
index 000000000..557601420
--- /dev/null
+++ b/homebrew/b2sum/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+cd "b2sum"
+make NO_OPENMP=1
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF} MANDIR=${PKG_TAPF}/share/man
diff --git a/homebrew/b2sum/_metadata/description b/homebrew/b2sum/_metadata/description
new file mode 100644
index 000000000..5a05752cd
--- /dev/null
+++ b/homebrew/b2sum/_metadata/description
@@ -0,0 +1 @@
+BLAKE2 b2sum reference binary
diff --git a/homebrew/b2sum/_metadata/homepage b/homebrew/b2sum/_metadata/homepage
new file mode 100644
index 000000000..f3a582933
--- /dev/null
+++ b/homebrew/b2sum/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/BLAKE2/BLAKE2
diff --git a/homebrew/b2sum/_metadata/name b/homebrew/b2sum/_metadata/name
new file mode 100644
index 000000000..584235821
--- /dev/null
+++ b/homebrew/b2sum/_metadata/name
@@ -0,0 +1 @@
+B2sum
diff --git a/homebrew/b2sum/_metadata/version b/homebrew/b2sum/_metadata/version
new file mode 100644
index 000000000..79bceb495
--- /dev/null
+++ b/homebrew/b2sum/_metadata/version
@@ -0,0 +1 @@
+20160619
diff --git a/homebrew/b2sum/download.sh b/homebrew/b2sum/download.sh
new file mode 100755
index 000000000..1d7fab0e1
--- /dev/null
+++ b/homebrew/b2sum/download.sh
@@ -0,0 +1 @@
+wget https://github.com/BLAKE2/BLAKE2/archive/20160619.tar.gz \ No newline at end of file