homebrew-core/Formula/ecm.rb
tungolcraft cb9e3e0269 ECM 1.0
ECM is a program to remove redundant information from cd images, and
losslessly replace that information when you want the original back.
This formula installs two binaries: ecm and unecm. That's all.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-19 17:05:51 -08:00

13 lines
310 B
Ruby

require 'formula'
class Ecm < Formula
homepage 'http://www.neillcorlett.com/ecm/'
url 'http://critical.ch/distfiles/ecm-1.0.tar.gz'
md5 '16302c139137434c8793cc7938cc7afe'
def install
system "#{ENV.cc} -o ecm ecm.c"
system "#{ENV.cc} -o unecm unecm.c"
bin.install 'ecm', 'unecm'
end
end