diff options
| author | David M. Lee | 2010-11-08 16:50:27 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-19 06:27:42 -0800 |
| commit | 10c225b87e7610b67d6b92ad9020a072a60a56ec (patch) | |
| tree | 15659392b1172182ccca03ebdfb1ecb5d04046f4 /Library | |
| parent | d13a1d62782671b00ecb47e4d89001d7164d95c4 (diff) | |
| download | homebrew-10c225b87e7610b67d6b92ad9020a072a60a56ec.tar.bz2 | |
Add new formula mcpp
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mcpp.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/mcpp.rb b/Library/Formula/mcpp.rb new file mode 100644 index 000000000..5abb24aaa --- /dev/null +++ b/Library/Formula/mcpp.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Mcpp <Formula + url 'http://downloads.sourceforge.net/project/mcpp/mcpp/V.2.7.2/mcpp-2.7.2.tar.gz' + homepage 'http://mcpp.sourceforge.net/' + md5 '512de48c87ab023a69250edc7a0c7b05' + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + + def patches + "https://gist.github.com/raw/668341/e50827c8d9e8452befcab64bd8800b16d1f66d0e/mcpp-fix-stpcpy.patch" + end +end |
