2011-12-22 15:44:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Xpa < Formula
|
|
|
|
homepage 'http://hea-www.harvard.edu/RD/xpa/'
|
|
|
|
url 'http://hea-www.harvard.edu/saord/download/xpa/xpa-2.1.13.tar.gz'
|
|
|
|
md5 '052053e329a8a03fa6f512f9aadf4828'
|
|
|
|
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
|
|
|
|
2011-12-22 15:44:48 +00:00
|
|
|
def install
|
2012-06-07 01:35:12 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2011-12-22 15:44:48 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
|
|
|
|
# relocate man, since --mandir is ignored
|
|
|
|
mv "#{prefix}/man", man
|
|
|
|
end
|
|
|
|
end
|