2010-07-14 08:49:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jed < Formula
|
2010-07-14 08:49:24 +00:00
|
|
|
homepage 'http://www.jedsoft.org/jed/'
|
2013-01-28 04:55:08 +00:00
|
|
|
url 'ftp://space.mit.edu/pub/davis/jed/v0.99/jed-0.99-19.tar.bz2'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '7783ac9035c7221575e74b544902151309d0d0ef'
|
2010-07-14 08:49:24 +00:00
|
|
|
|
|
|
|
depends_on 's-lang'
|
2014-03-10 03:26:26 +00:00
|
|
|
depends_on :x11 => :optional
|
2010-07-14 08:49:24 +00:00
|
|
|
|
|
|
|
def install
|
2013-01-28 04:55:08 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-07-14 08:49:24 +00:00
|
|
|
system "make"
|
2014-03-10 03:26:26 +00:00
|
|
|
system "make", "xjed" if build.with? "x11"
|
2010-07-14 08:49:24 +00:00
|
|
|
|
|
|
|
ENV.deparallelize
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|