summaryrefslogtreecommitdiff
path: root/homebrew/dsd/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/dsd/.make.sh-auto')
-rw-r--r--homebrew/dsd/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/dsd/.make.sh-auto b/homebrew/dsd/.make.sh-auto
new file mode 100644
index 000000000..1ba80a3d4
--- /dev/null
+++ b/homebrew/dsd/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+resource("mbelib-1.2.5").stage do
+inreplace "CMakeLists.txt", "install(TARGETS mbe-static mbe-shared DESTINATION lib)", "install(TARGETS mbe-static DESTINATION lib)"
+args = std_cmake_args
+args << "-DCMAKE_INSTALL_PREFIX=#{buildpath}/vendor/mbelib"
+cmake . *args
+make DESTDIR=${PKG_DEST} install