dabb05eac8
2.0.7 completes support for definition lists in PHP mardown extra style. There are also a few small cleanups and an extension of the footnotes. Also: Build discount with both types of definition list Discount now supports two types of definition lists: its own and one from PHP markdown extra. However, to enable them, we need to change the configuration options. See the homepage for details on the two types of definition lists: http://www.pell.portland.or.us/~orc/Code/discount/#dl Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
452 B
Ruby
16 lines
452 B
Ruby
require 'formula'
|
|
|
|
class Discount <Formula
|
|
url 'https://github.com/Orc/discount/tarball/v2.0.7'
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
|
md5 'fc8e18464abad30be8900b184c34f812'
|
|
|
|
def install
|
|
system "./configure.sh", "--prefix=#{prefix}", "--mandir=#{man}",
|
|
"--with-dl=Both", "--enable-all-features"
|
|
bin.mkdir
|
|
lib.mkdir
|
|
include.mkdir
|
|
system "make install.everything"
|
|
end
|
|
end
|