2010-01-15 03:55:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Discount < Formula
|
2011-05-19 09:20:04 +00:00
|
|
|
url 'https://github.com/Orc/discount/tarball/v2.0.9'
|
2010-01-15 03:55:50 +00:00
|
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
2011-05-19 09:20:04 +00:00
|
|
|
md5 '3190e8f3d4a607537faa4ccc3d92ea6d'
|
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}",
|
2011-02-21 12:42:46 +00:00
|
|
|
"--with-dl=Both", "--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
|