blob: 554e18e4dafe0d7ac771884c2e0fd3899c51f9ef [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
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05008SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.6;protocol=https"
9SRCREV = "c058aa87dce4c67a3b86b3349beebd64b7bedcd3"
Patrick Williamsdb4c27e2022-08-05 08:10:29 -050010
11S = "${WORKDIR}/git"
12
13inherit cmake
14
15EXTRA_OECMAKE = "\
16 -DBUILD_CLAR=OFF \
17 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
18 -DLIB_INSTALL_DIR=${libdir} \
19 -DREGEX_BACKEND='pcre2' \
20"
21
22BBCLASSEXTEND = "native"