2011-12-22 15:44:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Xpa < Formula
|
|
|
|
homepage 'http://hea-www.harvard.edu/RD/xpa/'
|
2013-08-17 23:50:55 +00:00
|
|
|
url 'http://hea-www.harvard.edu/saord/download/xpa/xpa-2.1.15.tar.gz'
|
2013-12-14 22:28:56 +00:00
|
|
|
sha1 'fe9df55606b663fbe01023fcd44a9c18bc7c6ad5'
|
2011-12-22 15:44:48 +00:00
|
|
|
|
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
|