2012-02-06 00:26:39 +00:00
|
|
|
class Jigdo < Formula
|
2014-12-16 02:04:27 +00:00
|
|
|
homepage "http://atterer.org/jigdo/"
|
|
|
|
url "http://atterer.org/sites/atterer/files/2009-08/jigdo/jigdo-0.7.3.tar.bz2"
|
|
|
|
sha1 "7b83c35af71f908b31b9aa55b0dda9dfb4d224f0"
|
|
|
|
revision 1
|
2012-02-06 00:26:39 +00:00
|
|
|
|
2014-12-17 06:30:23 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "082410ddb96160d7dad904396e54c628e395efd6" => :yosemite
|
|
|
|
sha1 "3728075c968660a34393a2c8657d2e3f18fb0017" => :mavericks
|
|
|
|
sha1 "f059fdafb3d3891c27e86ef0d31ef20d14bf7c2c" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-12-16 02:04:27 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "wget" => :recommended
|
|
|
|
depends_on "berkeley-db4"
|
|
|
|
depends_on "gtk+"
|
2012-02-06 00:26:39 +00:00
|
|
|
|
2013-11-24 17:45:07 +00:00
|
|
|
# Use MacPorts patch for compilation on 10.9; this software is no longer developed.
|
2014-03-17 02:35:19 +00:00
|
|
|
patch :p0 do
|
|
|
|
url "http://trac.macports.org/export/113020/trunk/dports/net/jigdo/files/patch-src-compat.hh.diff"
|
|
|
|
sha1 "3318ecbe8b2bb20e8e36c70dc10ff366df2009f3"
|
2013-11-24 17:45:07 +00:00
|
|
|
end
|
|
|
|
|
2012-02-06 00:26:39 +00:00
|
|
|
def install
|
2013-11-24 17:45:07 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2012-02-06 00:26:39 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--mandir=#{man}"
|
|
|
|
system "make"
|
2014-12-16 02:04:27 +00:00
|
|
|
system "make", "install"
|
2012-02-06 00:26:39 +00:00
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/jigdo-file", "-h"
|
2012-02-06 00:26:39 +00:00
|
|
|
end
|
|
|
|
end
|