diff options
Diffstat (limited to 'meta/recipes-support/libgit2/libgit2_1.9.0.bb')
-rw-r--r-- | meta/recipes-support/libgit2/libgit2_1.9.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-support/libgit2/libgit2_1.9.0.bb b/meta/recipes-support/libgit2/libgit2_1.9.0.bb new file mode 100644 index 0000000000..66ec62f17a --- /dev/null +++ b/meta/recipes-support/libgit2/libgit2_1.9.0.bb | |||
@@ -0,0 +1,25 @@ | |||
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=main;protocol=https \ | ||
9 | file://0001-src-libgit2-CMakeLists.txt-install-cmake-files-into-.patch \ | ||
10 | " | ||
11 | SRCREV = "338e6fb681369ff0537719095e22ce9dc602dbf0" | ||
12 | |||
13 | inherit cmake | ||
14 | |||
15 | EXTRA_OECMAKE = "\ | ||
16 | -DBUILD_TESTS=OFF \ | ||
17 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||
18 | -DREGEX_BACKEND='pcre2' \ | ||
19 | " | ||
20 | |||
21 | BBCLASSEXTEND = "native" | ||
22 | |||
23 | do_install:append() { | ||
24 | sed -i -e 's,${RECIPE_SYSROOT},,g' ${D}${libdir}/cmake/libgit2/libgit2Targets.cmake | ||
25 | } | ||