summaryrefslogtreecommitdiff
path: root/homebrew/zbackup/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/zbackup/.make.sh-auto')
-rw-r--r--homebrew/zbackup/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/zbackup/.make.sh-auto b/homebrew/zbackup/.make.sh-auto
new file mode 100644
index 000000000..6853272da
--- /dev/null
+++ b/homebrew/zbackup/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+ENV.cxx11
+inreplace [
+"backup_creator.cc", "check.hh", "chunk_id.cc", "chunk_storage.cc", "compression.cc", "encrypted_file.cc", "encryption.cc", "encryption_key.cc", "mt.cc", "tests/bundle/test_bundle.cc", "tests/encrypted_file/test_encrypted_file.cc", "unbuffered_file.cc", ], /\bCHECK\b/, "ZBCHECK"
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install