blob: 816ae5e2ed0b2fa15a839619c8678a3f112e68a3 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001SUMMARY = "the Git linkable library"
2HOMEPAGE = "http://libgit2.github.com/"
3LICENSE = "GPL-2.0-with-GCC-exception & MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3f2cd5d3cccd71d62066ba619614592b"
5
6DEPENDS = "curl openssl zlib libssh2 libgcrypt"
7
8SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v0.27"
9#v0.27.5
10SRCREV = "8e0b172981a046d19f1d9efa5acd6186bccbd3ce"
11
12S = "${WORKDIR}/git"
13
14inherit cmake
15
16EXTRA_OECMAKE = "\
17 -DTHREADSAFE=ON \
18 -DBUILD_CLAR=OFF \
19 -DSHA1_TYPE="builtin" \
20 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
21 -DBUILD_EXAMPLES=OFF \
22 -DLIB_INSTALL_DIR=${libdir} \
23"
24
25BBCLASSEXTEND = "native"