homebrew-core/Formula/jed.rb
John K. Parejko a31a127a07 jed: add optional X11 support (xjed)
Closes Homebrew/homebrew#27367.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-19 20:11:37 -05:00

20 lines
516 B
Ruby

require 'formula'
class Jed < Formula
homepage 'http://www.jedsoft.org/jed/'
url 'ftp://space.mit.edu/pub/davis/jed/v0.99/jed-0.99-19.tar.bz2'
sha1 '7783ac9035c7221575e74b544902151309d0d0ef'
depends_on 's-lang'
depends_on :x11 => :optional
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
system "make", "xjed" if build.with? "x11"
ENV.deparallelize
system "make install"
end
end