summaryrefslogtreecommitdiff
path: root/homebrew/blockhash
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/blockhash
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/blockhash')
-rw-r--r--homebrew/blockhash/.beer32
-rw-r--r--homebrew/blockhash/.make.sh-auto4
-rw-r--r--homebrew/blockhash/_metadata/description1
-rw-r--r--homebrew/blockhash/_metadata/homepage1
-rw-r--r--homebrew/blockhash/_metadata/name1
-rw-r--r--homebrew/blockhash/_metadata/version1
-rwxr-xr-xhomebrew/blockhash/download.sh1
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/blockhash/.beer b/homebrew/blockhash/.beer
new file mode 100644
index 000000000..6c326dec6
--- /dev/null
+++ b/homebrew/blockhash/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Blockhash",
+ "description": "Perceptual image hash calculation tool",
+ "url": "https://github.com/commonsmachinery/blockhash/archive/v0.3.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/commonsmachinery/blockhash",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "imagemagick",
+ "build-depend": false
+ }
+ ],
+ "resource": [
+ {
+ "name": "testdata",
+ "url": "https://raw.githubusercontent.com/commonsmachinery/blockhash/ce08b465b658c4e886d49ec33361cee767f86db6/testdata/clipper_ship.jpg"
+ }
+ ],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./waf\", \"configure\", \"--prefix=#{prefix}\"",
+ "system \"./waf\"",
+ "system \"./waf\", \"install\""
+ ],
+ "version": "0.3.1",
+ "file": "blockhash.rb"
+} \ No newline at end of file
diff --git a/homebrew/blockhash/.make.sh-auto b/homebrew/blockhash/.make.sh-auto
new file mode 100644
index 000000000..3d1ab3e57
--- /dev/null
+++ b/homebrew/blockhash/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+./waf configure --prefix=${PKG_TAPF}
+./waf
+./waf install
diff --git a/homebrew/blockhash/_metadata/description b/homebrew/blockhash/_metadata/description
new file mode 100644
index 000000000..c50024e59
--- /dev/null
+++ b/homebrew/blockhash/_metadata/description
@@ -0,0 +1 @@
+Perceptual image hash calculation tool
diff --git a/homebrew/blockhash/_metadata/homepage b/homebrew/blockhash/_metadata/homepage
new file mode 100644
index 000000000..565e9a449
--- /dev/null
+++ b/homebrew/blockhash/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/commonsmachinery/blockhash
diff --git a/homebrew/blockhash/_metadata/name b/homebrew/blockhash/_metadata/name
new file mode 100644
index 000000000..629ae2ada
--- /dev/null
+++ b/homebrew/blockhash/_metadata/name
@@ -0,0 +1 @@
+Blockhash
diff --git a/homebrew/blockhash/_metadata/version b/homebrew/blockhash/_metadata/version
new file mode 100644
index 000000000..9e11b32fc
--- /dev/null
+++ b/homebrew/blockhash/_metadata/version
@@ -0,0 +1 @@
+0.3.1
diff --git a/homebrew/blockhash/download.sh b/homebrew/blockhash/download.sh
new file mode 100755
index 000000000..727943389
--- /dev/null
+++ b/homebrew/blockhash/download.sh
@@ -0,0 +1 @@
+wget https://github.com/commonsmachinery/blockhash/archive/v0.3.1.tar.gz \ No newline at end of file