homebrew-core/Formula/bashreduce.rb

22 lines
430 B
Ruby
Raw Normal View History

2010-08-15 19:07:46 +00:00
require 'formula'
class Bashreduce <Formula
head 'git://github.com/erikfrey/bashreduce.git'
homepage 'http://github.com/erikfrey/bashreduce'
def install
Dir.chdir 'brutils' do
inreplace "Makefile" do |s|
s.change_make_var! 'CFLAGS', ENV.cflags
s.change_make_var! 'BINDIR', bin
end
system "make"
bin.install "brp"
bin.install "brm"
end
bin.install "br"
end
end