Formula for discount

discount is a C implementation of the Markup text to html language.

Signed-off-by: David Höppner <0xffea@gmail.com>
This commit is contained in:
Zack Hobson 2010-01-14 19:55:50 -08:00 committed by David Höppner
parent 4c498a56f9
commit bef5810c65

16
Formula/discount.rb Normal file
View file

@ -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