30de7ed5fe
gEDA/gaf (gschem and friends) contains tools that are used for electrical circuit design, netlist generation, attribute editor, symbol checker, etc. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
31 lines
695 B
Ruby
31 lines
695 B
Ruby
require 'formula'
|
|
|
|
class GedaGaf < Formula
|
|
url 'http://geda.seul.org/release/v1.6/1.6.2/geda-gaf-1.6.2.tar.gz'
|
|
homepage 'http://geda.seul.org'
|
|
md5 '35ae86aebc174ec1fc03863fde4c843c'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'gettext'
|
|
depends_on 'gtk+'
|
|
depends_on 'guile'
|
|
depends_on 'gawk'
|
|
|
|
def install
|
|
# Help configure find libraries
|
|
ENV.x11
|
|
|
|
gettext = Formula.factory('gettext')
|
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
"--with-gettext=#{gettext.prefix}",
|
|
"--disable-update-xdg-database"
|
|
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
|
|
def caveats
|
|
"This software runs under X11."
|
|
end
|
|
end
|