2011-06-07 15:08:08 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Malbolge < Formula
|
|
|
|
|
|
|
|
url 'http://esoteric.sange.fi/orphaned/malbolge/malbolge.c'
|
|
|
|
homepage 'http://esoteric.sange.fi/orphaned/malbolge/README.txt'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'caea2eb8c51486b4de57bdfa5ed4deba431e9e20'
|
2011-06-07 15:08:08 +00:00
|
|
|
version '0.1.0'
|
|
|
|
|
|
|
|
def patches
|
|
|
|
DATA
|
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
2012-05-15 18:47:30 +00:00
|
|
|
system ENV.cxx, "malbolge.c", "-o", "malbolge"
|
2011-06-07 15:08:08 +00:00
|
|
|
bin.install 'malbolge'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
__END__
|
|
|
|
--- /malbolge.c
|
|
|
|
+++ /malbolge.c
|
|
|
|
25d24
|
|
|
|
< #include <malloc.h>
|