homebrew-virt-manager/libosinfo.rb

40 lines
1.2 KiB
Ruby
Raw Normal View History

2014-12-23 02:49:53 +00:00
class Libosinfo < Formula
desc "The operating system information database"
2014-12-23 02:49:53 +00:00
homepage "https://libosinfo.org/"
2016-02-04 00:27:03 +00:00
url "https://fedorahosted.org/releases/l/i/libosinfo/libosinfo-0.3.0.tar.gz"
sha256 "538a3468792e919edf5364fe102d751353ae600a92ad3a24f024424a182cefbc"
2014-12-23 02:49:53 +00:00
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "pkg-config" => :build
2016-02-04 00:27:03 +00:00
depends_on "wget" => :build
2014-12-23 02:49:53 +00:00
depends_on "check"
depends_on "libsoup-with-gnome"
2014-12-23 02:49:53 +00:00
depends_on "libxml2"
patch :DATA # remove unknown linker option: --no-undefined
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--enable-introspection",
"--prefix=#{prefix}"
system "make", "install"
end
end
__END__
diff --git a/configure b/configure
index 01b764d..22f7d15 100755
--- a/configure
+++ b/configure
@@ -14694,7 +14694,7 @@ case "$host" in
;;
2015-04-03 00:40:06 +00:00
2014-12-23 02:49:53 +00:00
*)
- NO_UNDEFINED_FLAGS="-Wl,--no-undefined"
+ NO_UNDEFINED_FLAGS=""
VERSION_SCRIPT_FLAGS=-Wl,--version-script=
`ld --help 2>&1 | grep -- --version-script >/dev/null` || \
VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"