homebrew-core/Formula/discount.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* 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
2010-08-07 18:08:53 -07:00

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