2010-08-15 19:07:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Bashreduce < Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
homepage 'https://github.com/erikfrey/bashreduce'
|
2012-02-13 05:28:00 +00:00
|
|
|
head 'https://github.com/erikfrey/bashreduce.git'
|
2010-08-15 19:07:46 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-13 05:28:00 +00:00
|
|
|
bin.install "br"
|
2010-08-15 19:07:46 +00:00
|
|
|
Dir.chdir 'brutils' do
|
2012-02-13 05:28:00 +00:00
|
|
|
system "make", "CFLAGS=#{ENV.cflags}", "BINDIR=#{bin}"
|
|
|
|
bin.install "brp", "brm"
|
2010-08-15 19:07:46 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|