summaryrefslogtreecommitdiff
path: root/homebrew/pdf2htmlex/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pdf2htmlex/.make.sh-auto')
-rw-r--r--homebrew/pdf2htmlex/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/pdf2htmlex/.make.sh-auto b/homebrew/pdf2htmlex/.make.sh-auto
new file mode 100644
index 000000000..56ac59dc9
--- /dev/null
+++ b/homebrew/pdf2htmlex/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+resource("fontforge").stage do
+inreplace "gutils/gimagereadgif.c", "DGifCloseFile(gif)", "DGifCloseFile(gif, NULL)"
+ENV.append "LDFLAGS", "-lintl"
+ENV["ARCHFLAGS"] = "-arch #{MacOS.preferred_arch}"
+./autogen.sh
+pkg:configure --without-libzmq --without-x --without-iconv --disable-python-scripting --disable-python-extension
+make
+make DESTDIR=${PKG_DEST} install