2011-12-22 15:44:48 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Xpa < Formula
|
|
|
|
homepage 'http://hea-www.harvard.edu/RD/xpa/'
|
2012-07-28 21:44:14 +00:00
|
|
|
url 'http://hea-www.harvard.edu/saord/download/xpa/xpa-2.1.14.tar.gz'
|
|
|
|
sha1 '927afc7beb90999cf63f75810d34a0ffead5f401'
|
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
|