summaryrefslogtreecommitdiff
path: root/homebrew/wdc/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/wdc/.make.sh-auto')
-rw-r--r--homebrew/wdc/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/wdc/.make.sh-auto b/homebrew/wdc/.make.sh-auto
new file mode 100644
index 000000000..44684075e
--- /dev/null
+++ b/homebrew/wdc/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+pugixml = Formula["pugixml"]
+ENV.prepend "CXXFLAGS", "-I#{pugixml.opt_include.children.first}"
+cmake . -DPUGIXML_INCLUDE_DIR=#{pugixml.opt_include} -DPUGIXML_LIBRARY=#{pugixml.opt_lib} -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install