aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/malbolge.rb
blob: 7ebb2ccbe4e785fa672405bb4d36d195a11bc0d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>