blob: dd5eba8c071caaaf00965fcb593d35f04829b9a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class Discount < Formula
homepage 'http://www.pell.portland.or.us/~orc/Code/discount/'
url 'https://github.com/Orc/discount/tarball/v2.1.5a'
sha1 '73dcf117fa6ca15332c67f246544cd224bfc1774'
conflicts_with 'markdown',
:because => 'both discount and markdown ship a `markdown` executable.'
def install
system "./configure.sh", "--prefix=#{prefix}",
"--mandir=#{man}",
"--with-dl=Both",
"--enable-all-features"
bin.mkpath
lib.mkpath
include.mkpath
system "make install.everything"
end
end
|