homebrew-core/Formula/mkclean.rb
Nibbles 2bits 6d69db875c mkclean 0.8.6
This updates mkclean to 0.8.6 and modifies the one install command
so that all three binaries it builds get installed, namely:
mkclean, mkcleanreg, and mkWDclean.  It compiles and tests
using llvm-2335, gcc-4.2.1, and clang-2.0.

Closes Homebrew/homebrew#8031.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-10 13:41:56 -07:00

21 lines
624 B
Ruby

require 'formula'
class Mkclean < Formula
url 'http://downloads.sourceforge.net/project/matroska/mkclean/mkclean-0.8.6.tar.bz2'
homepage 'http://www.matroska.org/downloads/mkclean.html'
sha1 'dd59c50178c5d1b11190e466c0562ac3cd64cd71'
def install
ENV.j1 # Otherwise there are races
# For 64-bit kernels, just use the Snow Leopard SDK.
inreplace "corec/tools/coremake/gcc_osx_x64.build" do |s|
s.gsub! /10\.4u?/, "10.6"
end
system "./configure"
system "make -C mkclean"
bindir = `corec/tools/coremake/system_output.sh`.chomp
bin.install Dir["release/#{bindir}/mk*"]
end
end