2013-09-16 22:01:03 +00:00
|
|
|
class Gcab < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Windows installer (.MSI) tool"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "https://wiki.gnome.org/msitools"
|
2016-03-10 12:30:36 +00:00
|
|
|
url "https://download.gnome.org/sources/gcab/0.7/gcab-0.7.tar.xz"
|
|
|
|
sha256 "a16e5ef88f1c547c6c8c05962f684ec127e078d302549f3dfd2291e167d4adef"
|
2013-09-16 22:01:03 +00:00
|
|
|
|
2016-03-10 13:21:19 +00:00
|
|
|
bottle do
|
|
|
|
sha256 "7403bfd6a817af92bf1c89c90826e748c909e2ec559f18d708ac48306c5b7431" => :el_capitan
|
|
|
|
sha256 "3200cfd9434dc548094116bf426979978c51cbad8316fd299620ce86baa5acb3" => :yosemite
|
|
|
|
sha256 "1c063054e17f3194d214d5d1a8d01a12932ec8214cca7143956760039db22f2f" => :mavericks
|
|
|
|
end
|
|
|
|
|
2015-08-03 12:55:31 +00:00
|
|
|
depends_on "intltool" => :build
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "vala" => :build
|
|
|
|
depends_on "gettext"
|
|
|
|
depends_on "glib"
|
|
|
|
depends_on "gobject-introspection"
|
2013-09-16 22:01:03 +00:00
|
|
|
|
2014-03-19 17:07:50 +00:00
|
|
|
# work around ld not understanding --version-script argument
|
|
|
|
# upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=708257
|
|
|
|
patch :DATA
|
2013-09-16 22:01:03 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
__END__
|
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
|
|
index 2264c17..7782d62 100644
|
|
|
|
--- a/Makefile.in
|
|
|
|
+++ b/Makefile.in
|
|
|
|
@@ -474,7 +474,7 @@ libgcab_1_0_la_CPPFLAGS = \
|
|
|
|
libgcab_1_0_la_LIBADD = -lz $(GLIB_LIBS)
|
|
|
|
libgcab_1_0_la_LDFLAGS = \
|
|
|
|
-version-info 0:0:0 \
|
|
|
|
- -Wl,--version-script=${srcdir}/libgcab.syms \
|
|
|
|
+ -Wl \
|
|
|
|
-no-undefined \
|
|
|
|
$(NULL)
|
2014-04-03 10:17:37 +00:00
|
|
|
|