homebrew-core/Formula/bashreduce.rb

22 lines
434 B
Ruby
Raw Normal View History

2010-08-15 19:07:46 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Bashreduce < Formula
2011-05-27 05:02:55 +00:00
head 'https://github.com/erikfrey/bashreduce.git'
homepage 'https://github.com/erikfrey/bashreduce'
2010-08-15 19:07:46 +00:00
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