homebrew-core/Formula/discount.rb
Peter Aronoff 6cf6b5aefa Update and tweak formula for discount
1. Update discount to 1.6.4
2. Add configuration options for full range of extras (pandoc-style
headers, relaxed emphasis, support for divs and alpha lists and for
superscript)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-05-01 09:05:27 -07:00

15 lines
509 B
Ruby

require 'formula'
class Discount <Formula
url 'http://github.com/Orc/discount/tarball/v1.6.4'
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
md5 '0eef27192e92d586cd1428f501fc6d5a'
def install
system "./configure.sh", "--prefix=#{prefix}", "--mandir=#{man}", "--enable-dl-tag", "--enable-pandoc-header", "--enable-superscript", "--relaxed-emphasis", "--enable-div", "--enable-alpha-list"
bin.mkdir
lib.mkdir
include.mkdir
system "make install.everything"
end
end