aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/malbolge.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/malbolge.rb b/Library/Formula/malbolge.rb
new file mode 100644
index 000000000..6d3485618
--- /dev/null
+++ b/Library/Formula/malbolge.rb
@@ -0,0 +1,24 @@
+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>