c4d9c2a99c
a2ps: migrate patches argp-standalone: migrate patch autotrace: migrate patches avidemux: reference secure link bibtex2html: migrate patches bsdmake: migrate patches cctools: migrate patches cdparanoia: migrate patches cdrdao: reference secure links center-im: migrate patch clisp: migrate patch clucene: migrate patches cvs: migrate to sha256 daemon: migrate patch dvdrtools: migrate patches exim: style nits exim: migrate option ghostscript: migrate patch glib: migrate patch gpsd: migrate patch graphviz: migrate patch gtkglext: migrate patches gupnp: migrate patch hping: migrate patches id3lib: migrate patches jigdo: migrate patch jove: migrate patch ld64: migrate patches libcanberra: migrate patch libgcrypt: migrate patch libinfinity: migrate patch liblinear: migrate patch libmms: migrate patch libnet: migrate patch lsdvd: migrate patches
38 lines
1.3 KiB
Ruby
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://raw.githubusercontent.com/Homebrew/patches/e101570/jigdo/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
|