30 lines
887 B
Ruby
30 lines
887 B
Ruby
require 'formula'
|
|
|
|
class Libgda < Formula
|
|
homepage 'http://www.gnome-db.org/'
|
|
url 'http://download.gnome.org/sources/libgda/5.2/libgda-5.2.0.tar.xz'
|
|
sha256 '41bd14aaaf50efc7b80d7279c69ed9c90d3a1894cb5123385d86883a1d7d5f30'
|
|
revision 1
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'intltool' => :build
|
|
depends_on 'itstool' => :build
|
|
depends_on 'gettext'
|
|
depends_on 'glib'
|
|
depends_on 'readline'
|
|
depends_on 'libgcrypt'
|
|
depends_on 'sqlite'
|
|
|
|
def install
|
|
ENV.libxml2
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}",
|
|
"--disable-binreloc",
|
|
"--disable-gtk-doc",
|
|
"--without-java"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|