aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgit2/libgit2_0.28.3.bb
blob: f02f5e73824e58a002b2901ac287995f067d5f3b (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
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.28"
SRCREV = "7ce88e66a19e3b48340abcdd86aeaae1882e63cc"

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"