homebrew-core/Formula/malbolge.rb
Jack Nagel 5bd598db36 Use ENV shortcut methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:12 -05:00

24 lines
436 B
Ruby

require 'formula'
class Malbolge < Formula
url 'http://esoteric.sange.fi/orphaned/malbolge/malbolge.c'
homepage 'http://esoteric.sange.fi/orphaned/malbolge/README.txt'
md5 '447482be58906921e36520a8900095c5'
version '0.1.0'
def patches
DATA
end
def install
system ENV.cxx, "malbolge.c", "-o", "malbolge"
bin.install 'malbolge'
end
end
__END__
--- /malbolge.c
+++ /malbolge.c
25d24
< #include <malloc.h>