Updated sdcc to 2.9.0 and fixed build

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Fabio Utzig 2010-06-28 18:33:12 -03:00 committed by Adam Vandenberg
parent 4809395441
commit 6528f42e4f

View file

@ -1,14 +1,13 @@
require 'formula'
class Sdcc <Formula
url 'http://downloads.sourceforge.net/project/sdcc/sdcc/2.8.0/sdcc-src-2.8.0.tar.bz2'
url 'http://downloads.sourceforge.net/project/sdcc/sdcc/2.9.0/sdcc-src-2.9.0.tar.bz2'
homepage 'http://sdcc.sourceforge.net/'
md5 '1b9c2e581b92d5e3f13bca37c5784080'
md5 'a6151ed328fd3bc48305ffbc628dc122'
def install
ENV.O3 # You don't want to see what happens with -O4.
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "./configure", "--prefix=#{prefix}"
system "make"
system "make install"
end
end