blob: ffe00d865376ee4a8077dc89ccd3159e83f959d3 [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"
Patrick Williams8e7b46e2023-05-01 14:19:06 -05009SRCREV = "e6325351ceee58cf56f58bdce61b38907805544f"
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"