2009-11-15 01:21:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pth < Formula
|
2013-01-28 05:34:23 +00:00
|
|
|
homepage 'http://www.gnu.org/software/pth/'
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/pth/pth-2.0.7.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '9a71915c89ff2414de69fe104ae1016d513afeee'
|
2009-11-15 01:21:35 +00:00
|
|
|
|
2014-02-22 22:43:12 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "0ca2ae935487bc12119f942c77b9e52acdbc3a38" => :mavericks
|
|
|
|
sha1 "58d56997dc5fa20d856b3068e228424540e0e853" => :mountain_lion
|
|
|
|
sha1 "d5f5cb9238d6dd2b98b3ede6cb34bad28cac9109" => :lion
|
|
|
|
end
|
|
|
|
|
2009-11-15 01:21:35 +00:00
|
|
|
def install
|
|
|
|
ENV.deparallelize
|
2010-07-16 17:19:08 +00:00
|
|
|
# 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}"
|
2013-05-28 15:53:49 +00:00
|
|
|
system "make"
|
|
|
|
system "make test"
|
2009-11-15 01:21:35 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|