blob: 59866ce38598cf53c8cba43afe491301f6755491 [file] [log] [blame]
Patrick Williamsdb4c27e2022-08-05 08:10:29 -05001SUMMARY = "the Git linkable library"
2HOMEPAGE = "http://libgit2.github.com/"
3LICENSE = "GPL-2.0-with-GCC-exception & MIT & OpenSSL & BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=112e6bb421dea73cd41de09e777f2d2c"
5
6DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2"
7
Patrick Williams864cc432023-02-09 14:54:44 -06008SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.5;protocol=https"
9SRCREV = "42e5db98b963ae503229c63e44e06e439df50e56"
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"