2011-05-16 18:34:47 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GedaGaf < Formula
|
2014-01-10 21:55:42 +00:00
|
|
|
homepage 'http://www.geda-project.org/'
|
|
|
|
url 'http://ftp.geda-project.org/geda-gaf/stable/v1.8/1.8.2/geda-gaf-1.8.2.tar.gz'
|
|
|
|
sha1 'c61edc04997fc12398534a346dac32d8fcdabcc1'
|
2011-05-16 18:34:47 +00:00
|
|
|
|
2012-05-05 18:57:59 +00:00
|
|
|
devel do
|
2014-08-26 04:39:17 +00:00
|
|
|
url 'http://ftp.geda-project.org/geda-gaf/unstable/v1.9/1.9.1/geda-gaf-1.9.1.tar.gz'
|
|
|
|
sha1 '4b45085a187697e6c36e5f65a2a39b5a3b1a5f89'
|
2012-05-05 18:57:59 +00:00
|
|
|
end
|
|
|
|
|
2011-05-16 18:34:47 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'gtk+'
|
|
|
|
depends_on 'guile'
|
|
|
|
depends_on 'gawk'
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
2011-05-16 18:34:47 +00:00
|
|
|
|
|
|
|
def install
|
2014-08-26 04:39:16 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
"--disable-update-xdg-database",
|
|
|
|
"--with-pcb-datadir=#{HOMEBREW_PREFIX}/share/pcb"
|
2011-05-16 18:34:47 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
2012-09-12 05:16:01 +00:00
|
|
|
|