summaryrefslogtreecommitdiff
path: root/homebrew/ceressolver/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ceressolver/.make.sh-auto')
-rw-r--r--homebrew/ceressolver/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/ceressolver/.make.sh-auto b/homebrew/ceressolver/.make.sh-auto
new file mode 100644
index 000000000..3bba88a8e
--- /dev/null
+++ b/homebrew/ceressolver/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DBUILD_SHARED_LIBS=ON -DEIGEN_INCLUDE_DIR=#{Formula[eigen"].opt_include}/eigen3" -DMETIS_LIBRARY=#{Formula[metis"].opt_lib}/libmetis.dylib" -DGLOG_INCLUDE_DIR_HINTS=#{Formula[glog"].opt_include}" -DGLOG_LIBRARY_DIR_HINTS=#{Formula[glog"].opt_lib}" -DTBB=OFF
+make
+make DESTDIR=${PKG_DEST} install
+pkgshare.install "examples", "data"
+doc.install "docs/html" unless build.head?