homebrew-core/Formula/bashreduce.rb

15 lines
323 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"
Dir.chdir 'brutils' do
system "make", "CFLAGS=#{ENV.cflags}", "BINDIR=#{bin}"
bin.install "brp", "brm"
end
end
end