2010-01-15 03:55:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Discount <Formula
|
2010-09-03 22:12:24 +00:00
|
|
|
url 'http://github.com/Orc/discount/tarball/v1.6.8'
|
2010-01-15 03:55:50 +00:00
|
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
2010-09-03 22:12:24 +00:00
|
|
|
md5 '45f9784464e973885884ffb01bd3f7e8'
|
2010-01-15 03:55:50 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +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
|