blockhash: revision for imagemagick
This commit is contained in:
parent
4abb9e0498
commit
fec254f57d
1 changed files with 6 additions and 1 deletions
|
@ -3,7 +3,7 @@ class Blockhash < Formula
|
|||
homepage "http://blockhash.io/"
|
||||
url "https://github.com/commonsmachinery/blockhash/archive/0.1.tar.gz"
|
||||
sha256 "aef300f39be2cbc1b508af15d7ddb5b851b671b27680d8b7ab1d043cc0369893"
|
||||
revision 1
|
||||
revision 2
|
||||
head "https://github.com/commonsmachinery/blockhash.git"
|
||||
|
||||
bottle do
|
||||
|
@ -22,6 +22,11 @@ class Blockhash < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# ImageMagick 7 compatibility
|
||||
# Reported 20 Jun 2016 https://github.com/commonsmachinery/blockhash/issues/19
|
||||
inreplace "blockhash.c", "wand/MagickWand.h",
|
||||
"ImageMagick-7/MagickWand/MagickWand.h"
|
||||
|
||||
system "./waf", "configure", "--prefix=#{prefix}"
|
||||
system "./waf"
|
||||
system "./waf", "install"
|
||||
|
|
Loading…
Reference in a new issue