aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-03-26 12:26:08 +0000
committerXu Cheng2015-03-28 00:14:20 +0800
commitda8eb5a3f0077c0e747baa78798d472f01a87888 (patch)
tree2d75ad2107ee96be53b9a0d8324605a08913ce10 /Library
parentb511e3679c59311bdd207e8c33e8c3548bc72789 (diff)
downloadhomebrew-da8eb5a3f0077c0e747baa78798d472f01a87888.tar.bz2
jbig2dec 0.12
Bump. They’ve moved away from SourceForge apparently; the old homepage now perma-redirects to Ghostscript’s homepage, and from there the jbig homepage informs you the latest release is 0.12 and can be accessed through the url changed to here. Looks like someone didn’t put the package through an autoreconf before publishing - The install-sh symlink is broken and has to be regenerated. Not sure how we feel about that. Closes #38102. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/jbig2dec.rb18
1 files changed, 11 insertions, 7 deletions
diff --git a/Library/Formula/jbig2dec.rb b/Library/Formula/jbig2dec.rb
index ec0652685..e3dbb6c25 100644
--- a/Library/Formula/jbig2dec.rb
+++ b/Library/Formula/jbig2dec.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Jbig2dec < Formula
- homepage 'http://jbig2dec.sourceforge.net'
- url 'https://downloads.sourceforge.net/project/jbig2dec/jbig2dec/0.11/jbig2dec-0.11.tar.gz'
- sha1 '349cd765616db7aac1f4dd1d45957d1da65ea925'
+ homepage "http://ghostscript.com/jbig2dec.html"
+ url "http://downloads.ghostscript.com/public/jbig2dec/jbig2dec-0.12.tar.gz"
+ sha256 "bcc5f2cc75ee46e9a2c3c68d4a1b740280c772062579a5d0ceda24bee2e5ebf0"
bottle do
cellar :any
@@ -12,9 +10,15 @@ class Jbig2dec < Formula
sha1 "cbb4dfe055be243427210d03304c20760fb00bd7" => :lion
end
+ depends_on "automake" => :build
+ depends_on "autoconf" => :build
+ depends_on "libtool" => :build
+
def install
- system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
- system "make install"
+ system "autoreconf", "-fvi" # error: cannot find install-sh
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}",
+ "--disable-silent-rules", "--without-libpng"
+ system "make", "install"
end
test do