summaryrefslogtreecommitdiff
path: root/homebrew/mupen64plus/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mupen64plus/.make.sh-auto')
-rw-r--r--homebrew/mupen64plus/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/mupen64plus/.make.sh-auto b/homebrew/mupen64plus/.make.sh-auto
new file mode 100644
index 000000000..7fc5fc3cc
--- /dev/null
+++ b/homebrew/mupen64plus/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+inreplace Dir["source/mupen64plus-**/projects/unix/Makefile"], /(-mmacosx-version-min)=\d+\.\d+/, "\\1=#{MacOS.version}"
+inreplace "source/mupen64plus-video-glide64mk2/src/Glide64/3dmath.cpp", "__builtin_ia32_storeups", "_mm_storeu_ps"
+args = ["install", "PREFIX=#{prefix}", "INSTALL_STRIP_FLAG=-S"]
+cd "source/mupen64plus-core/projects/unix"
+make *args