2011-02-27 10:59:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-21 19:55:16 +00:00
|
|
|
class Libgda < Formula
|
2011-02-27 10:59:45 +00:00
|
|
|
homepage 'http://www.gnome-db.org/'
|
2012-08-08 15:46:01 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/libgda/5.0/libgda-5.0.3.tar.xz'
|
|
|
|
sha256 '82d204361b794103c366bb690484d25814bfc653cb97da0dfcf7c0a13409d1cc'
|
2011-02-27 10:59:45 +00:00
|
|
|
|
2011-03-21 19:55:16 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-08-08 15:46:01 +00:00
|
|
|
depends_on 'xz' => :build
|
2011-02-27 10:59:45 +00:00
|
|
|
depends_on 'gettext'
|
|
|
|
depends_on 'glib'
|
|
|
|
depends_on 'intltool'
|
|
|
|
depends_on 'readline'
|
|
|
|
depends_on 'libgcrypt'
|
|
|
|
|
2011-03-21 19:55:16 +00:00
|
|
|
# brew's sqlite doesn't have necessary options compiled, so skipping as a dep for now
|
|
|
|
# adamv: which options does it need?
|
2011-02-27 10:59:45 +00:00
|
|
|
|
|
|
|
def install
|
2012-08-23 09:50:31 +00:00
|
|
|
ENV.libxml2
|
2011-03-21 19:55:16 +00:00
|
|
|
system "./configure", "--enable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-binreloc",
|
|
|
|
"--without-java"
|
2011-02-27 10:59:45 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|