2011-06-25 01:48:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Cc65 < Formula
|
|
|
|
homepage 'http://www.cc65.org/'
|
2013-11-13 05:03:26 +00:00
|
|
|
head 'svn://svn.cc65.org/cc65/trunk'
|
2012-10-24 16:00:26 +00:00
|
|
|
url 'ftp://ftp.musoftware.de/pub/uz/cc65/cc65-sources-2.13.3.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '925c6edfcef7057e24ecb0704fa07210faec07bc'
|
2011-06-25 01:48:47 +00:00
|
|
|
|
2013-11-13 05:03:26 +00:00
|
|
|
conflicts_with 'cc65', :because => 'both install `grc` binaries'
|
2011-06-25 01:48:47 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
ENV.deparallelize
|
|
|
|
ENV.no_optimization
|
|
|
|
system "make", "-f", "make/gcc.mak", "prefix=#{prefix}", "libdir=#{share}"
|
|
|
|
system "make", "-f", "make/gcc.mak", "install", "prefix=#{prefix}", "libdir=#{share}"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
Library files have been installed to:
|
|
|
|
#{share}/cc65
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|