2010-06-15 06:06:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Glibmm < Formula
|
2010-06-15 06:06:18 +00:00
|
|
|
homepage 'http://www.gtkmm.org/'
|
2013-10-19 18:49:53 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.38/glibmm-2.38.0.tar.xz'
|
|
|
|
sha256 'f37bab6bedb7b68045e356feca9e27760a5ce50d95df07156656a0e1deabc402'
|
2010-06-15 06:06:18 +00:00
|
|
|
|
2012-04-24 05:10:28 +00:00
|
|
|
depends_on 'xz' => :build
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-15 06:06:18 +00:00
|
|
|
depends_on 'libsigc++'
|
|
|
|
depends_on 'glib'
|
|
|
|
|
2013-10-19 21:08:09 +00:00
|
|
|
depends_on 'automake' => :build
|
|
|
|
depends_on 'autoconf' => :build
|
|
|
|
depends_on 'libtool' => :build
|
|
|
|
depends_on 'mm-common' => :build
|
|
|
|
|
|
|
|
# Upstream patch to fix build error
|
|
|
|
# Remove patch, autotools deps and call to autogen.sh at next version
|
|
|
|
def patches
|
|
|
|
"https://git.gnome.org/browse/glibmm/patch/?id=c619be2fadae1b5a87151db0b0adddf55584084a"
|
|
|
|
end
|
|
|
|
|
2010-06-15 06:06:18 +00:00
|
|
|
def install
|
2013-10-19 21:08:09 +00:00
|
|
|
system "./autogen.sh", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2010-06-15 06:06:18 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|