aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/discount.rb
blob: 56e3427ceb82068b6da823ccbac7636b3a24e9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Discount < Formula
  homepage 'http://www.pell.portland.or.us/~orc/Code/discount/'
  url 'https://github.com/Orc/discount/tarball/v2.1.3'
  md5 '0c6db0556506724dac050ec19ab625b5'

  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