diff options
Diffstat (limited to 'meta/recipes-support/libgit2/libgit2_1.9.1.bb')
-rw-r--r-- | meta/recipes-support/libgit2/libgit2_1.9.1.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-support/libgit2/libgit2_1.9.1.bb b/meta/recipes-support/libgit2/libgit2_1.9.1.bb new file mode 100644 index 0000000000..43957a2087 --- /dev/null +++ b/meta/recipes-support/libgit2/libgit2_1.9.1.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "the Git linkable library" | ||
2 | HOMEPAGE = "http://libgit2.github.com/" | ||
3 | LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause & Zlib & ISC & LGPL-2.1-or-later & CC0-1.0 & BSD-2-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=8eacfdc17c8f4d219e131a073973b97d" | ||
5 | |||
6 | DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2" | ||
7 | |||
8 | SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.9;protocol=https;tag=v${PV}" | ||
9 | SRCREV = "0060d9cf5666f015b1067129bd874c6cc4c9c7ac" | ||
10 | |||
11 | inherit cmake | ||
12 | |||
13 | EXTRA_OECMAKE = "\ | ||
14 | -DBUILD_TESTS=OFF \ | ||
15 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||
16 | -DREGEX_BACKEND='pcre2' \ | ||
17 | " | ||
18 | |||
19 | BBCLASSEXTEND = "native" | ||
20 | |||
21 | do_install:append() { | ||
22 | sed -i -e 's,${RECIPE_SYSROOT},,g' ${D}${libdir}/cmake/libgit2/libgit2Targets.cmake | ||
23 | } | ||