2009-11-15 01:21:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pth < Formula
|
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'
|
2009-11-15 01:21:35 +00:00
|
|
|
homepage 'http://www.gnu.org/software/pth/'
|
|
|
|
md5 '9cb4a25331a4c4db866a31cbe507c793'
|
|
|
|
|
|
|
|
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}"
|
2009-11-15 01:21:35 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|