2010-01-15 03:55:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Discount <Formula
|
2010-06-20 00:57:45 +00:00
|
|
|
url 'http://github.com/Orc/discount/tarball/v1.6.5'
|
2010-01-15 03:55:50 +00:00
|
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
2010-06-20 00:57:45 +00:00
|
|
|
md5 '85824f81b67649fb466fa469da5b5262'
|
2010-01-15 03:55:50 +00:00
|
|
|
|
|
|
|
def install
|
2010-05-01 11:37:46 +00:00
|
|
|
system "./configure.sh", "--prefix=#{prefix}", "--mandir=#{man}", "--enable-dl-tag", "--enable-pandoc-header", "--enable-superscript", "--relaxed-emphasis", "--enable-div", "--enable-alpha-list"
|
2010-02-03 12:40:24 +00:00
|
|
|
bin.mkdir
|
|
|
|
lib.mkdir
|
|
|
|
include.mkdir
|
|
|
|
system "make install.everything"
|
2010-01-15 03:55:50 +00:00
|
|
|
end
|
|
|
|
end
|