2009-10-30 10:44:27 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Sdcc <Formula
|
2010-06-28 21:33:12 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/sdcc/sdcc/2.9.0/sdcc-src-2.9.0.tar.bz2'
|
2009-10-30 10:44:27 +00:00
|
|
|
homepage 'http://sdcc.sourceforge.net/'
|
2010-06-28 21:33:12 +00:00
|
|
|
md5 'a6151ed328fd3bc48305ffbc628dc122'
|
2009-10-30 10:44:27 +00:00
|
|
|
|
|
|
|
def install
|
2010-06-28 21:33:12 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}"
|
2010-09-15 00:35:59 +00:00
|
|
|
system "make all"
|
2009-10-30 10:44:27 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|