summaryrefslogtreecommitdiff
path: root/homebrew/libgit2/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libgit2/.make.sh-auto')
-rw-r--r--homebrew/libgit2/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/libgit2/.make.sh-auto b/homebrew/libgit2/.make.sh-auto
new file mode 100644
index 000000000..613966d50
--- /dev/null
+++ b/homebrew/libgit2/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+args = std_cmake_args
+args << "-DBUILD_EXAMPLES=YES"
+args << "-DBUILD_CLAR=NO"
+mkdir "build" && cd build
+cmake .. *args
+make DESTDIR=${PKG_DEST} install
+cd "examples"
+(pkgshare/"examples").install "add", "blame", "cat-file", "cgit2", "describe", "diff", "for-each-ref", "general", "init", "log", "remote", "rev-list", "rev-parse", "showindex", "status", "tag"