homebrew-core/Formula/sdcc.rb

18 lines
450 B
Ruby
Raw Normal View History

2009-10-30 10:44:27 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Sdcc < Formula
url 'http://downloads.sourceforge.net/project/sdcc/sdcc/3.0.0/sdcc-src-3.0.0.tar.bz2'
2009-10-30 10:44:27 +00:00
homepage 'http://sdcc.sourceforge.net/'
md5 '20fbd49a3421e09fe65577c45524c89e'
2009-10-30 10:44:27 +00:00
depends_on 'gputils'
2009-10-30 10:44:27 +00:00
def install
system "./configure", "--prefix=#{prefix}",
"--enable-avr-port",
"--enable-xa51-port"
system "make all"
2009-10-30 10:44:27 +00:00
system "make install"
end
end