ecm: urls fixed

Closes Homebrew/homebrew#36057.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
master
Baptiste Fontaine 2015-01-20 10:49:32 +01:00 committed by Mike McQuaid
parent c1b99af242
commit fa3bca5d7f
1 changed files with 7 additions and 8 deletions

View File

@ -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