summaryrefslogtreecommitdiff
path: root/homebrew/mapcrafter/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mapcrafter/.make.sh-auto')
-rw-r--r--homebrew/mapcrafter/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/mapcrafter/.make.sh-auto b/homebrew/mapcrafter/.make.sh-auto
new file mode 100644
index 000000000..a2b4e1b3b
--- /dev/null
+++ b/homebrew/mapcrafter/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.cxx11
+args = std_cmake_args
+args << "-DJPEG_INCLUDE_DIR=#{Formula["jpeg-turbo"].opt_include}"
+args << "-DJPEG_LIBRARY=#{Formula["jpeg-turbo"].opt_lib}/libjpeg.dylib"
+cmake . *args
+make DESTDIR=${PKG_DEST} install