diff options
| author | Clément Péron <peron.clem@gmail.com> | 2021-01-20 14:35:58 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-01-21 00:26:41 -0800 |
| commit | 24774d34aa411a388f7c38def1ef7bc0a9486a1a (patch) | |
| tree | bcaab8e67d4045f024b32177aef90709a932ade0 | |
| parent | 3c9ced9c020598867f493b3762ec82be55f7a24a (diff) | |
| download | meta-openembedded-24774d34aa411a388f7c38def1ef7bc0a9486a1a.tar.gz | |
re2: Add recipe for Google RE2 library
Add Google RE2 regular expression library.
This is used in new version of gRPC.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/re2/re2_2020.11.01.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/re2/re2_2020.11.01.bb b/meta-oe/recipes-support/re2/re2_2020.11.01.bb new file mode 100644 index 0000000000..7f6fcdb01b --- /dev/null +++ b/meta-oe/recipes-support/re2/re2_2020.11.01.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | DESCRIPTION = "A regular expression library" | ||
| 2 | HOMEPAGE = "https://github.com/google/re2/" | ||
| 3 | LICENSE = "BSD-3-Clause" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b5c31eb512bdf3cb11ffd5713963760" | ||
| 5 | |||
| 6 | SRCREV = "166dbbeb3b0ab7e733b278e8f42a84f6882b8a25" | ||
| 7 | |||
| 8 | SRC_URI = "git://github.com/google/re2.git;branch=master" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/git" | ||
| 11 | |||
| 12 | inherit cmake | ||
| 13 | |||
| 14 | EXTRA_OECMAKE += " \ | ||
| 15 | -DBUILD_SHARED_LIBS=ON \ | ||
| 16 | -DRE2_BUILD_TESTING=OFF \ | ||
| 17 | " | ||
| 18 | |||
| 19 | # Don't include so files in dev package | ||
| 20 | FILES_${PN} = "${libdir}" | ||
| 21 | FILES_${PN}-dev = "${includedir} ${libdir}/cmake" | ||
| 22 | |||
| 23 | BBCLASSEXTEND = "native nativesdk" | ||
