From 370cd54a7e1b6b2df8c92b660cdcd88a3caafdf3 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Tue, 20 Jan 2015 10:49:32 +0100 Subject: ecm: urls fixed Closes #36057. Signed-off-by: Mike McQuaid --- Library/Formula/ecm.rb | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/ecm.rb b/Library/Formula/ecm.rb index 8a9c7ec81..94e50ac02 100644 --- a/Library/Formula/ecm.rb +++ b/Library/Formula/ecm.rb @@ -1,13 +1,12 @@ -require 'formula' - class Ecm < Formula - homepage 'http://www.neillcorlett.com/ecm/' - url 'http://critical.ch/distfiles/ecm-1.0.tar.gz' - sha1 'bfda1031e22b23e3c4d1a713f675de2a9778a421' + homepage "https://web.archive.org/web/20140227165748/http://www.neillcorlett.com/ecm/" + url "https://web.archive.org/web/20091021035854/http://www.neillcorlett.com/downloads/ecm100.zip" + sha1 "ec8884b547bebee69fa3d2901dbd076f9a84c2ce" + version "1.0" def install - system "#{ENV.cc} -o ecm ecm.c" - system "#{ENV.cc} -o unecm unecm.c" - bin.install 'ecm', 'unecm' + system ENV.cc, "-o", "ecm", "ecm.c" + system ENV.cc, "-o", "unecm", "unecm.c" + bin.install "ecm", "unecm" end end -- cgit v1.2.3