homebrew-core/Formula/discount.rb

22 lines
654 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Discount < Formula
homepage 'http://www.pell.portland.or.us/~orc/Code/discount/'
2013-12-10 03:26:11 +00:00
url 'http://www.pell.portland.or.us/~orc/Code/discount/discount-2.1.7.tar.bz2'
sha1 '517bcf7409d8c02b3e57f51264b2e110f8a03120'
conflicts_with 'markdown',
:because => 'both discount and markdown ship a `markdown` executable.'
def install
2012-08-06 21:05:16 +00:00
system "./configure.sh", "--prefix=#{prefix}",
"--mandir=#{man}",
"--with-dl=Both",
"--enable-all-features"
2012-02-22 04:48:36 +00:00
bin.mkpath
lib.mkpath
include.mkpath
2010-02-03 12:40:24 +00:00
system "make install.everything"
end
end