brainfuck 0.1.2
Closes Homebrew/homebrew#19490. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
50794210c9
commit
c5d3972b05
1 changed files with 17 additions and 0 deletions
17
Formula/brainfuck.rb
Normal file
17
Formula/brainfuck.rb
Normal 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
|
Loading…
Reference in a new issue