homebrew-core/Formula/discount.rb
Brett Koonce b47e169039 discount 2.1.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-29 09:19:42 -07:00

23 lines
674 B
Ruby

require 'formula'
class Discount < Formula
homepage 'http://www.pell.portland.or.us/~orc/Code/discount/'
url 'http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.6.tar.bz2'
sha1 'a7461731613d0e2f88dd19af9feb860c191e8234'
version 'v2.1.6'
conflicts_with 'markdown',
:because => 'both discount and markdown ship a `markdown` executable.'
def install
system "./configure.sh", "--prefix=#{prefix}",
"--mandir=#{man}",
"--with-dl=Both",
"--enable-all-features"
bin.mkpath
lib.mkpath
include.mkpath
system "make install.everything"
end
end