aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/re2/re2_2020.11.01.bb
blob: 698fe7e497e6d238744f267186c65cea117120cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "A regular expression library"
HOMEPAGE = "https://github.com/google/re2/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b5c31eb512bdf3cb11ffd5713963760"

SRCREV = "166dbbeb3b0ab7e733b278e8f42a84f6882b8a25"

SRC_URI = "git://github.com/google/re2.git;branch=master;protocol=https"

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE += " \
	-DBUILD_SHARED_LIBS=ON \
	-DRE2_BUILD_TESTING=OFF \
"

# Don't include so files in dev package
FILES:${PN} = "${libdir}"
FILES:${PN}-dev = "${includedir} ${libdir}/cmake"

BBCLASSEXTEND = "native nativesdk"