homebrew-core/Formula/geda-gaf.rb

32 lines
695 B
Ruby
Raw Normal View History

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