2010-01-15 03:55:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Discount <Formula
|
2010-03-04 17:31:15 +00:00
|
|
|
url 'http://www.pell.portland.or.us/~orc/Code/markdown/discount-1.6.1.tar.gz'
|
2010-01-15 03:55:50 +00:00
|
|
|
homepage 'http://www.pell.portland.or.us/~orc/Code/markdown/'
|
2010-03-04 17:31:15 +00:00
|
|
|
md5 'f5a11aefb1906b28fc7532d0576d6a4a'
|
2010-01-15 03:55:50 +00:00
|
|
|
|
|
|
|
def install
|
2010-02-10 13:36:17 +00:00
|
|
|
system "./configure.sh", "--prefix=#{prefix}", "--mandir=#{man}"
|
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
|