Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (33 sloc) 0.842 kB
require 'formula'
class Bass < Formula
url 'http://byuu.org/files/bass_v08r01.tar.xz'
homepage 'http://byuu.org/programming/'
sha1 '120844fcd373f1b59bc817e1b1e41ae1d48824d6'
depends_on 'homebrew/dupes/gcc' # 4.7+
# Point to the correct GCC, not MacPorts.
# def patches
# DATA
# end
def install
inreplace 'nall/Makefile' do |s|
s.gsub! "gcc-mp-4.7", "gcc-4.7"
end
system "make"
# system "make install"
bin.install 'bass'
end
end
# __END__
# diff --git a/nall/Makefile b/nall/Makefile
# index bbc4b02..a9913c8 100755
# --- a/nall/Makefile
# +++ b/nall/Makefile
# @@ -38,7 +38,7 @@ ifeq ($(compiler),)
# ifeq ($(platform),win)
# compiler := gcc
# else ifeq ($(platform),osx)
# - compiler := gcc-mp-4.7
# + compiler := gcc-4.7
# else
# compiler := gcc-4.7
# endif
Jump to Line
Something went wrong with that request. Please try again.