aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgit2/libgit2_0.27.4.bb
blob: 816ae5e2ed0b2fa15a839619c8678a3f112e68a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
SUMMARY = "the Git linkable library"
HOMEPAGE = "http://libgit2.github.com/"
LICENSE = "GPL-2.0-with-GCC-exception & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=3f2cd5d3cccd71d62066ba619614592b"

DEPENDS = "curl openssl zlib libssh2 libgcrypt"

SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v0.27"
#v0.27.5
SRCREV = "8e0b172981a046d19f1d9efa5acd6186bccbd3ce"

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE = "\
    -DTHREADSAFE=ON \
    -DBUILD_CLAR=OFF \
    -DSHA1_TYPE="builtin" \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DBUILD_EXAMPLES=OFF \
    -DLIB_INSTALL_DIR=${libdir} \
"

BBCLASSEXTEND = "native"