diff options
Diffstat (limited to 'recipes-support/libgit2')
-rw-r--r-- | recipes-support/libgit2/libgit2-release.inc | 2 | ||||
-rw-r--r-- | recipes-support/libgit2/libgit2.inc | 19 | ||||
-rw-r--r-- | recipes-support/libgit2/libgit2_0.24.1.bb | 4 |
3 files changed, 25 insertions, 0 deletions
diff --git a/recipes-support/libgit2/libgit2-release.inc b/recipes-support/libgit2/libgit2-release.inc new file mode 100644 index 0000000..62a13cf --- /dev/null +++ b/recipes-support/libgit2/libgit2-release.inc | |||
@@ -0,0 +1,2 @@ | |||
1 | require libgit2.inc | ||
2 | SRC_URI = "https://github.com/libgit2/libgit2/archive/v${PV}.tar.gz" | ||
diff --git a/recipes-support/libgit2/libgit2.inc b/recipes-support/libgit2/libgit2.inc new file mode 100644 index 0000000..fe0f647 --- /dev/null +++ b/recipes-support/libgit2/libgit2.inc | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "the Git linkable library" | ||
2 | HOMEPAGE = "http://libgit2.github.com/" | ||
3 | LICENSE = "GPL-2.0-with-GCC-exception" | ||
4 | |||
5 | DEPENDS = "openssl zlib" | ||
6 | |||
7 | inherit cmake | ||
8 | |||
9 | # CLAR = tests, needs python-native | ||
10 | EXTRA_OECMAKE = "\ | ||
11 | -DTHREADSAFE=ON \ | ||
12 | -DBUILD_CLAR=OFF \ | ||
13 | -DSHA1_TYPE="builtin" \ | ||
14 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||
15 | -DBUILD_SHARED_LIBS=OFF \ | ||
16 | -DBUILD_EXAMPLES=OFF \ | ||
17 | " | ||
18 | |||
19 | BBCLASSEXTEND = "native" | ||
diff --git a/recipes-support/libgit2/libgit2_0.24.1.bb b/recipes-support/libgit2/libgit2_0.24.1.bb new file mode 100644 index 0000000..2d0c6ff --- /dev/null +++ b/recipes-support/libgit2/libgit2_0.24.1.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | LIC_FILES_CHKSUM = "file://COPYING;md5=34197a479f637beb9e09e56893f48bc2" | ||
2 | SRC_URI[md5sum] = "3674ca2d40388b1175e25b6f5a3a82ad" | ||
3 | SRC_URI[sha256sum] = "60198cbb34066b9b5c1613d15c0479f6cd25f4aef42f7ec515cd1cc13a77fede" | ||
4 | require libgit2-release.inc | ||