7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
18 lines
596 B
Ruby
18 lines
596 B
Ruby
require 'formula'
|
|
|
|
class Discount <Formula
|
|
url 'http://github.com/Orc/discount/tarball/v1.6.6'
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
|
md5 'c05cb804bdf5013aea2e816e5d2233d7'
|
|
|
|
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
|