homebrew-core/Formula/xorriso.rb
2019-07-15 11:36:10 +02:00

30 lines
1.2 KiB
Ruby

class Xorriso < Formula
desc "ISO9660+RR manipulation tool"
homepage "https://www.gnu.org/software/xorriso/"
url "https://ftp.gnu.org/gnu/xorriso/xorriso-1.5.0.tar.gz"
mirror "https://ftpmirror.gnu.org/xorriso/xorriso-1.5.0.tar.gz"
sha256 "a93fa7ae5bb1902198cddfec25201388156932f36f2f5da829bf4fcae9a6062b"
bottle do
cellar :any_skip_relocation
sha256 "94466282e1c9bd2bf8413ac74a64d666b760e709743406b3f8aec567bb29b5ed" => :mojave
sha256 "6711eba38184bf837ecba822ce31d0082a886056c00a3bb69468541ac3b81000" => :high_sierra
sha256 "c8692c6f0ab92fbd688733b1e857eb6d9dcf629e07e31bb7b8d029337e51d7f0" => :sierra
end
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
# `make install` has to be deparallelized due to the following error:
# mkdir: /usr/local/Cellar/xorriso/1.4.2/bin: File exists
# make[1]: *** [install-binPROGRAMS] Error 1
# Reported 14 Jun 2016: https://lists.gnu.org/archive/html/bug-xorriso/2016-06/msg00003.html
ENV.deparallelize { system "make", "install" }
end
test do
system bin/"xorriso", "--help"
end
end