brainfuck 0.1.2

Closes Homebrew/homebrew#19490.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Mathias Bynens 2013-04-28 17:31:46 +02:00 committed by Adam Vandenberg
parent 50794210c9
commit c5d3972b05

17
Formula/brainfuck.rb Normal file
View file

@ -0,0 +1,17 @@
require 'formula'
class Brainfuck < Formula
homepage 'https://github.com/FabianM/brainfuck'
url 'https://github.com/FabianM/brainfuck/archive/0.1.2.tar.gz'
sha1 'c656c932ede90972f1b3c3cfeb15b3cc1df0caea'
def install
system "make", "all", "CC=#{ENV.cc}", "CCFLAGS=#{ENV.cflags}"
bin.install 'bin/brainfuck'
man1.install 'man/brainfuck.1'
end
test do
system "#{bin}/brainfuck | cat"
end
end