diff options
| author | Justin Clift | 2011-12-11 06:53:10 +1100 |
|---|---|---|
| committer | Jack Nagel | 2011-12-10 14:22:53 -0600 |
| commit | 4b8e0ce6544462f95b643c39b2e212d2ff8cd3e6 (patch) | |
| tree | 9a9446b65d4dd989c2cd3e2cd772eaf929bb3bfe /Library | |
| parent | 543e9b7ddd75198442ce48b6d1471e2b91302f69 (diff) | |
| download | homebrew-4b8e0ce6544462f95b643c39b2e212d2ff8cd3e6.tar.bz2 | |
New formula: gnome-doc-utils
Closes #9066.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gnome-doc-utils.rb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Library/Formula/gnome-doc-utils.rb b/Library/Formula/gnome-doc-utils.rb new file mode 100644 index 000000000..4c6e66845 --- /dev/null +++ b/Library/Formula/gnome-doc-utils.rb @@ -0,0 +1,35 @@ +require 'formula' + +class GnomeDocUtils < Formula + homepage 'https://live.gnome.org/GnomeDocUtils' + url 'ftp://ftp.gnome.org/pub/gnome/sources/gnome-doc-utils/0.20/gnome-doc-utils-0.20.6.tar.bz2' + sha256 '091486e370480bf45349ad09dac799211092a02938b26a0d68206172cb6cebbf' + + depends_on 'pkg-config' => :build + depends_on 'intltool' + depends_on 'docbook' + depends_on 'libxml2' # --with-python + depends_on 'gettext' + + fails_with_llvm "Undefined symbols when linking", :build => "2326" + + def install + args = ["--prefix=#{prefix}", + "--disable-scrollkeeper", + "--enable-build-utils=yes"] + + system "./configure", *args + + # Compilation doesn't work right if we jump straight to make install + system "make" + system "make install" + end + + def caveats; <<-EOS.undent + Gnome-doc-utils requires libxml2 to be compiled + with the python modules enabled, to do so: + $ brew install libxml2 --with-python + EOS + end +end + |
