blob: ae30a7a1001b42426b2876fe9b3337e62cb20f24 [file] [log] [blame]
SUMMARY = "the Git linkable library"
HOMEPAGE = "http://libgit2.github.com/"
LICENSE = "GPL-2.0-with-GCC-exception & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=5b002a195fb7ea2d8d583f07eaff3a8e"
DEPENDS = "curl openssl zlib libssh2 libgcrypt libpcre2"
SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v1.1"
SRCREV = "8a0dc6783c340e61a44c179c48f832165ad2053c"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = "\
-DBUILD_CLAR=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLIB_INSTALL_DIR=${libdir} \
-DREGEX_BACKEND='pcre2' \
"
BBCLASSEXTEND = "native"