summaryrefslogtreecommitdiff
path: root/homebrew/eccodes/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/eccodes/.make.sh-auto')
-rw-r--r--homebrew/eccodes/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/eccodes/.make.sh-auto b/homebrew/eccodes/.make.sh-auto
new file mode 100644
index 000000000..bd76adc0d
--- /dev/null
+++ b/homebrew/eccodes/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+inreplace "CMakeLists.txt", "find_package( OpenJPEG )", ""
+mkdir "build" && cd build
+cmake .. -DENABLE_NETCDF=OFF -DENABLE_PNG=ON -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install