summaryrefslogtreecommitdiff
path: root/homebrew/gtkx/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gtkx/.make.sh-auto')
-rw-r--r--homebrew/gtkx/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/gtkx/.make.sh-auto b/homebrew/gtkx/.make.sh-auto
new file mode 100644
index 000000000..f31fdfd02
--- /dev/null
+++ b/homebrew/gtkx/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+args = ["--disable-dependency-tracking", "--disable-silent-rules", "--prefix=#{prefix}", "--enable-static", "--disable-glibtest", "--enable-introspection=yes", "--with-gdktarget=quartz", "--disable-visibility"]
+inreplace "autogen.sh", "libtoolize", "glibtoolize"
+ENV["NOCONFIGURE"] = "yes"
+./autogen.sh
+end
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
+inreplace bin/"gtk-builder-convert", %r{^#!/usr/bin/env python$}, "#!/usr/bin/python"