2010-01-15 03:55:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Discount <Formula
|
2010-10-29 13:46:55 +00:00
|
|
|
url 'http://github.com/Orc/discount/tarball/v2.0.1'
|
2010-01-15 03:55:50 +00:00
|
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
2010-10-29 13:46:55 +00:00
|
|
|
md5 '2495811dd9f68550a1464e4b6b00ac25'
|
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
|