b3ef32f007
Upgrade libunique to version 3.0.2. Add a flag to disable gtk docs. Change the gtk dep to gtk+3. Tested with clang and llvm from XCode-4.3.3. Closes Homebrew/homebrew#13421. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
25 lines
630 B
Ruby
25 lines
630 B
Ruby
require 'formula'
|
|
|
|
class Libunique < Formula
|
|
homepage 'http://live.gnome.org/LibUnique'
|
|
url 'ftp://ftp.gnome.org/pub/GNOME/sources/libunique/3.0/libunique-3.0.2.tar.bz2'
|
|
sha256 '50269a87c7aabf1e25f01b3bbb280133138ffd7b6776289894c614a4b6ca968d'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'dbus-glib'
|
|
depends_on 'gtk+3'
|
|
depends_on :x11
|
|
|
|
def install
|
|
args = %W[
|
|
--disable-debug
|
|
--disable-dependency-tracking
|
|
--disable-introspection
|
|
--disable-maintainer-flags
|
|
--disable-gtk-doc-html
|
|
--prefix=#{prefix}
|
|
]
|
|
system "./configure", *args
|
|
system "make install"
|
|
end
|
|
end
|