summaryrefslogtreecommitdiff
path: root/homebrew/hdf5at18/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/hdf5at18/.make.sh-auto')
-rw-r--r--homebrew/hdf5at18/.make.sh-auto4
1 files changed, 4 insertions, 0 deletions
diff --git a/homebrew/hdf5at18/.make.sh-auto b/homebrew/hdf5at18/.make.sh-auto
new file mode 100644
index 000000000..6db2ed591
--- /dev/null
+++ b/homebrew/hdf5at18/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace %w[c++/src/h5c++.in fortran/src/h5fc.in tools/misc/h5cc.in],"${libdir}/libhdf5.settings", "#{pkgshare}/libhdf5.settings" inreplace "src/Makefile.am", "settingsdir=$(libdir)", "settingsdir=#{pkgshare}" system "autoreconf", "-fiv" args = %W[ --disable-dependency-tracking --disable-silent-rules --prefix=#{prefix} --with-szlib=#{Formula["szip"].opt_prefix} --enable-build-mode=production --enable-fortran --disable-cxx ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install