blob: 78bf695a4a9f96d882a3ea6ea8e99931a3c6bbce [file] [log] [blame]
Andrew Geisslereef63862021-01-29 15:58:13 -06001DESCRIPTION = "A regular expression library"
2HOMEPAGE = "https://github.com/google/re2/"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b5c31eb512bdf3cb11ffd5713963760"
5
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05006# tag 2023-03-01
7SRCREV = "241e2e430836e80f93d704d1f06cd3e7fe3100f5"
Andrew Geisslereef63862021-01-29 15:58:13 -06008
Patrick Williams2194f502022-10-16 14:26:09 -05009SRC_URI = "git://github.com/google/re2.git;branch=main;protocol=https"
Andrew Geisslereef63862021-01-29 15:58:13 -060010
11S = "${WORKDIR}/git"
12
13inherit cmake
14
15EXTRA_OECMAKE += " \
16 -DBUILD_SHARED_LIBS=ON \
17 -DRE2_BUILD_TESTING=OFF \
18"
19
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050020# ignore .so in /usr/lib64
Patrick Williams213cb262021-08-07 19:21:33 -050021FILES:${PN} = "${libdir}"
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050022INSANE_SKIP:${PN} += "dev-so"
23
24# Don't include so files in dev package
Patrick Williams213cb262021-08-07 19:21:33 -050025FILES:${PN}-dev = "${includedir} ${libdir}/cmake"
Andrew Geisslereef63862021-01-29 15:58:13 -060026
27BBCLASSEXTEND = "native nativesdk"