homebrew-core/Formula/bashreduce.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

14 lines
316 B
Ruby

require 'formula'
class Bashreduce < Formula
homepage 'https://github.com/erikfrey/bashreduce'
head 'https://github.com/erikfrey/bashreduce.git'
def install
bin.install "br"
cd 'brutils' do
system "make", "CFLAGS=#{ENV.cflags}", "BINDIR=#{bin}"
bin.install "brp", "brm"
end
end
end