libgit2: add a recipe for libgit2 version 0.24.1

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Derek Straka 2016-08-04 14:39:23 -04:00 committed by Martin Jansa
parent fdb1bbe2e6
commit e231b02804

View File

@ -0,0 +1,23 @@
SUMMARY = "the Git linkable library"
HOMEPAGE = "http://libgit2.github.com/"
LICENSE = "GPL-2.0-with-GCC-exception"
LIC_FILES_CHKSUM = "file://COPYING;md5=34197a479f637beb9e09e56893f48bc2"
DEPENDS = "curl openssl zlib"
SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v0.24"
SRCREV = "211e117a0590583a720c53172406f34186c543bd"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = "\
-DTHREADSAFE=ON \
-DBUILD_CLAR=OFF \
-DSHA1_TYPE="builtin" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_EXAMPLES=OFF \
"
BBCLASSEXTEND = "native"