summaryrefslogtreecommitdiffstats
path: root/meta-sota/recipes-support/libgit2/libgit2.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-sota/recipes-support/libgit2/libgit2.inc')
-rw-r--r--meta-sota/recipes-support/libgit2/libgit2.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-sota/recipes-support/libgit2/libgit2.inc b/meta-sota/recipes-support/libgit2/libgit2.inc
new file mode 100644
index 0000000..fe0f647
--- /dev/null
+++ b/meta-sota/recipes-support/libgit2/libgit2.inc
@@ -0,0 +1,19 @@
+SUMMARY = "the Git linkable library"
+HOMEPAGE = "http://libgit2.github.com/"
+LICENSE = "GPL-2.0-with-GCC-exception"
+
+DEPENDS = "openssl zlib"
+
+inherit cmake
+
+# CLAR = tests, needs python-native
+EXTRA_OECMAKE = "\
+ -DTHREADSAFE=ON \
+ -DBUILD_CLAR=OFF \
+ -DSHA1_TYPE="builtin" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DBUILD_EXAMPLES=OFF \
+"
+
+BBCLASSEXTEND = "native"