summaryrefslogtreecommitdiff
path: root/homebrew/md5sha1sum
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/md5sha1sum
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/md5sha1sum')
-rw-r--r--homebrew/md5sha1sum/.beer28
-rw-r--r--homebrew/md5sha1sum/.make.sh-auto9
-rw-r--r--homebrew/md5sha1sum/_metadata/description1
-rw-r--r--homebrew/md5sha1sum/_metadata/homepage1
-rw-r--r--homebrew/md5sha1sum/_metadata/name1
-rw-r--r--homebrew/md5sha1sum/_metadata/version1
-rwxr-xr-xhomebrew/md5sha1sum/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/md5sha1sum/.beer b/homebrew/md5sha1sum/.beer
new file mode 100644
index 000000000..8e7c3bba8
--- /dev/null
+++ b/homebrew/md5sha1sum/.beer
@@ -0,0 +1,28 @@
+{
+ "name": "Md5sha1sum",
+ "description": "Hash utilities",
+ "url": "http://microbrew.org/tools/md5sha1sum/md5sha1sum-0.9.5.tar.gz",
+ "mirror": "https://mirrorservice.org/sites/distfiles.macports.org/md5sha1sum/md5sha1sum-0.9.5.tar.gz",
+ "homepage": "http://microbrew.org/tools/md5sha1sum/",
+ "depends": [
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "openssl = Formula[\"openssl\"]",
+ "ENV[\"SSLINCPATH\"] = openssl.opt_include",
+ "ENV[\"SSLLIBPATH\"] = openssl.opt_lib",
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\"",
+ "bin.install \"md5sum\"",
+ "bin.install_symlink bin/\"md5sum\" => \"sha1sum\"",
+ "bin.install_symlink bin/\"md5sum\" => \"ripemd160sum\""
+ ],
+ "version": "0.9.5",
+ "file": "md5sha1sum.rb"
+} \ No newline at end of file
diff --git a/homebrew/md5sha1sum/.make.sh-auto b/homebrew/md5sha1sum/.make.sh-auto
new file mode 100644
index 000000000..6036fd3a2
--- /dev/null
+++ b/homebrew/md5sha1sum/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+openssl = Formula["openssl"]
+ENV["SSLINCPATH"] = openssl.opt_include
+ENV["SSLLIBPATH"] = openssl.opt_lib
+pkg:configure
+make
+bin.install "md5sum"
+bin.install_symlink bin/"md5sum" => "sha1sum"
+bin.install_symlink bin/"md5sum" => "ripemd160sum"
diff --git a/homebrew/md5sha1sum/_metadata/description b/homebrew/md5sha1sum/_metadata/description
new file mode 100644
index 000000000..a4885d2c4
--- /dev/null
+++ b/homebrew/md5sha1sum/_metadata/description
@@ -0,0 +1 @@
+Hash utilities
diff --git a/homebrew/md5sha1sum/_metadata/homepage b/homebrew/md5sha1sum/_metadata/homepage
new file mode 100644
index 000000000..310c5453e
--- /dev/null
+++ b/homebrew/md5sha1sum/_metadata/homepage
@@ -0,0 +1 @@
+http://microbrew.org/tools/md5sha1sum/
diff --git a/homebrew/md5sha1sum/_metadata/name b/homebrew/md5sha1sum/_metadata/name
new file mode 100644
index 000000000..76261b3fd
--- /dev/null
+++ b/homebrew/md5sha1sum/_metadata/name
@@ -0,0 +1 @@
+Md5sha1sum
diff --git a/homebrew/md5sha1sum/_metadata/version b/homebrew/md5sha1sum/_metadata/version
new file mode 100644
index 000000000..b0bb87854
--- /dev/null
+++ b/homebrew/md5sha1sum/_metadata/version
@@ -0,0 +1 @@
+0.9.5
diff --git a/homebrew/md5sha1sum/download.sh b/homebrew/md5sha1sum/download.sh
new file mode 100755
index 000000000..315b9ec10
--- /dev/null
+++ b/homebrew/md5sha1sum/download.sh
@@ -0,0 +1 @@
+wget http://microbrew.org/tools/md5sha1sum/md5sha1sum-0.9.5.tar.gz || wget https://mirrorservice.org/sites/distfiles.macports.org/md5sha1sum/md5sha1sum-0.9.5.tar.gz \ No newline at end of file