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

class Pth <Formula
  url 'ftp://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz'
  homepage 'http://www.gnu.org/software/pth/'
  md5 '9cb4a25331a4c4db866a31cbe507c793'

  def install
    ENV.deparallelize
    # Note: shared library will not be build with --disable-debug, so don't add that flag
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make install"
  end
end