2010-01-15 03:55:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Discount <Formula
|
2011-01-27 12:56:58 +00:00
|
|
|
url 'https://github.com/Orc/discount/tarball/v2.0.5'
|
2010-01-15 03:55:50 +00:00
|
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
2011-01-27 12:56:58 +00:00
|
|
|
md5 'd3e167363a78a35d85f05a9072074c93'
|
2010-01-15 03:55:50 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure.sh", "--prefix=#{prefix}", "--mandir=#{man}",
|
2010-10-23 12:48:08 +00:00
|
|
|
"--enable-dl-tag", "--enable-all-features"
|
2010-02-03 12:40:24 +00:00
|
|
|
bin.mkdir
|
|
|
|
lib.mkdir
|
|
|
|
include.mkdir
|
|
|
|
system "make install.everything"
|
2010-01-15 03:55:50 +00:00
|
|
|
end
|
|
|
|
end
|