summaryrefslogtreecommitdiff
path: root/homebrew/audiofile/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/audiofile/.make.sh-auto')
-rw-r--r--homebrew/audiofile/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/audiofile/.make.sh-auto b/homebrew/audiofile/.make.sh-auto
new file mode 100644
index 000000000..a7730c6be
--- /dev/null
+++ b/homebrew/audiofile/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+inreplace "autogen.sh", "libtool", "glibtool"
+ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
+end
+configure = build.head? ? "./autogen.sh" : "./configure"
+args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
+PKG_CONF=c pkg:configureonfigure *args
+make
+make DESTDIR=${PKG_DEST} install