blob: 0c68cfd0afe16be332e2e7357cfac2cb02674283 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | require 'formula'
class Cc65 < Formula
  url 'ftp://ftp.musoftware.de/pub/uz/cc65/cc65-sources-2.13.3.tar.bz2'
  homepage 'http://www.cc65.org/'
  md5 '99de534c4a9e04b45a82c239ed4ded20'
  head 'svn://svn.cc65.org/cc65/trunk'
  skip_clean :all
  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
 |