diff options
| author | Zack Hobson | 2010-01-14 19:55:50 -0800 |
|---|---|---|
| committer | David Höppner | 2010-02-03 13:35:52 +0100 |
| commit | 756fc967c4c2816fa218fa2e7f742cbe47b46d27 (patch) | |
| tree | c1b47fea2b66093900b50486f50a86543ebc23b6 /Library/Formula | |
| parent | 348f9ca3291013a6b65a1b0302868f814ff2e60f (diff) | |
| download | homebrew-756fc967c4c2816fa218fa2e7f742cbe47b46d27.tar.bz2 | |
Formula for discount
discount is a C implementation of the Markup text to html language.
Signed-off-by: David Höppner <0xffea@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/discount.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/discount.rb b/Library/Formula/discount.rb new file mode 100644 index 000000000..5f55b7ca5 --- /dev/null +++ b/Library/Formula/discount.rb @@ -0,0 +1,16 @@ +require 'formula' + +class Discount <Formula + url 'http://www.pell.portland.or.us/~orc/Code/markdown/discount-1.5.8.tar.gz' + homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/' + md5 'b7a4900bedd2d75147b0b708fb6e16ed' + + def install + system "./configure.sh", "--prefix=#{prefix}" + system "make" + system "mkdir -p #{prefix}/bin" + system "mkdir -p #{prefix}/lib" + system "mkdir -p #{prefix}/include" + system "make install" + end +end |
