blob: 92af0b84540c14e021c1f244a4a06c5be1d5891f [file] [log] [blame]
Patrick Williamsdb4c27e2022-08-05 08:10:29 -05001SUMMARY = "the Git linkable library"
2HOMEPAGE = "http://libgit2.github.com/"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05003LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause & Zlib & ISC & LGPL-2.1-or-later & CC0-1.0 & BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=5bdf47bbc9a39dc6ce076d59e322dc17"
Patrick Williamsdb4c27e2022-08-05 08:10:29 -05005
6DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2"
7
Patrick Williams2a254922023-08-11 09:48:11 -05008SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.7;protocol=https"
Andrew Geissler5082cc72023-09-11 08:41:39 -04009SRCREV = "a2bde63741977ca0f4ef7db2f609df320be67a08"
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050010
11S = "${WORKDIR}/git"
12
13inherit cmake
14
15EXTRA_OECMAKE = "\
Patrick Williams8e7b46e2023-05-01 14:19:06 -050016 -DBUILD_TESTS=OFF \
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050017 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050018 -DREGEX_BACKEND='pcre2' \
19"
20
21BBCLASSEXTEND = "native"