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'
|
|
|
|
sha1 '52f5cc2925f5ee6e642602d4405a240b32ade455'
|
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
|