aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authortungolcraft2012-02-17 05:55:59 -0500
committerAdam Vandenberg2012-02-19 17:05:51 -0800
commitdc060cef2b1d6d048189b1a0b61dc9524af637fa (patch)
tree049bf759ed9d31dd0b62b9fb61b9e81a87e59eb4 /Library
parent73ee43fe97d0b6e2813b981514ae29c45ecc186e (diff)
downloadhomebrew-dc060cef2b1d6d048189b1a0b61dc9524af637fa.tar.bz2
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ecm.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Library/Formula/ecm.rb b/Library/Formula/ecm.rb
new file mode 100644
index 000000000..1ccca3232
--- /dev/null
+++ b/Library/Formula/ecm.rb
@@ -0,0 +1,13 @@
+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