bef5810c65
discount is a C implementation of the Markup text to html language. Signed-off-by: David Höppner <0xffea@gmail.com>
16 lines
459 B
Ruby
16 lines
459 B
Ruby
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
|