aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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