homebrew-core/Formula/jigdo.rb
2015-06-18 08:31:49 +01:00

38 lines
1.3 KiB
Ruby

class Jigdo < Formula
desc "Tool to distribute very large files over the internet"
homepage "http://atterer.org/jigdo/"
url "http://atterer.org/sites/atterer/files/2009-08/jigdo/jigdo-0.7.3.tar.bz2"
sha256 "875c069abad67ce67d032a9479228acdb37c8162236c0e768369505f264827f0"
revision 2
bottle do
revision 1
sha256 "a5ba35413d5395a286b39d9ad3f9b3bfc3a4095d3537f7d3b227d86825c23f43" => :yosemite
sha256 "a9c0ede0039a384a3fa4b268765d683d72980d94d092417c55274a072ea60d73" => :mavericks
sha256 "1243645dd9eaf663aed268faa133596cb96b75ea8c2a8c6867d9110b538aa736" => :mountain_lion
end
depends_on "pkg-config" => :build
depends_on "wget" => :recommended
depends_on "berkeley-db4"
depends_on "gtk+"
# Use MacPorts patch for compilation on 10.9; this software is no longer developed.
patch :p0 do
url "https://trac.macports.org/export/113020/trunk/dports/net/jigdo/files/patch-src-compat.hh.diff"
sha256 "a21aa8bcc5a03a6daf47e0ab4e04f16e611e787a7ada7a6a87c8def738585646"
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
system "make", "install"
end
test do
system "#{bin}/jigdo-file", "-h"
end
end