summaryrefslogtreecommitdiffstats
path: root/meta-sota/recipes-support/libgit2
diff options
context:
space:
mode:
Diffstat (limited to 'meta-sota/recipes-support/libgit2')
-rw-r--r--meta-sota/recipes-support/libgit2/libgit2-release.inc2
-rw-r--r--meta-sota/recipes-support/libgit2/libgit2.inc19
-rw-r--r--meta-sota/recipes-support/libgit2/libgit2_0.24.1.bb4
3 files changed, 25 insertions, 0 deletions
diff --git a/meta-sota/recipes-support/libgit2/libgit2-release.inc b/meta-sota/recipes-support/libgit2/libgit2-release.inc
new file mode 100644
index 0000000..62a13cf
--- /dev/null
+++ b/meta-sota/recipes-support/libgit2/libgit2-release.inc
@@ -0,0 +1,2 @@
+require libgit2.inc
+SRC_URI = "https://github.com/libgit2/libgit2/archive/v${PV}.tar.gz"
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"
diff --git a/meta-sota/recipes-support/libgit2/libgit2_0.24.1.bb b/meta-sota/recipes-support/libgit2/libgit2_0.24.1.bb
new file mode 100644
index 0000000..2d0c6ff
--- /dev/null
+++ b/meta-sota/recipes-support/libgit2/libgit2_0.24.1.bb
@@ -0,0 +1,4 @@
+LIC_FILES_CHKSUM = "file://COPYING;md5=34197a479f637beb9e09e56893f48bc2"
+SRC_URI[md5sum] = "3674ca2d40388b1175e25b6f5a3a82ad"
+SRC_URI[sha256sum] = "60198cbb34066b9b5c1613d15c0479f6cd25f4aef42f7ec515cd1cc13a77fede"
+require libgit2-release.inc