diff options
| author | Fan Xin <fan.xin@jp.fujitsu.com> | 2017-06-21 17:08:30 +0900 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-28 15:52:18 +0100 |
| commit | 9e0a03725416ade2ae423d8f28d82bc8aa87d4bc (patch) | |
| tree | 131026f92f2910fc0a66ae9ca0e9840c3e3e6819 /meta/recipes-support/libpcre/libpcre2_10.23.bb | |
| parent | d6b997841f850681bf383d61bc76bff69bb3a630 (diff) | |
| download | poky-9e0a03725416ade2ae423d8f28d82bc8aa87d4bc.tar.gz | |
libpcre2: 10.22 -> 10.23
1. Upgrade libpcre2 from 10.22 to 10.23
2. Update the checksum of LIC_FILES_CHKSUM
The copyright time of LICENCE is updated to 2017, the content of LICENCE has no change.
(From OE-Core rev: ed80c94d0099c5a1a75c1e00805fd09f67b6cbbd)
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libpcre/libpcre2_10.23.bb')
| -rw-r--r-- | meta/recipes-support/libpcre/libpcre2_10.23.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-support/libpcre/libpcre2_10.23.bb b/meta/recipes-support/libpcre/libpcre2_10.23.bb new file mode 100644 index 0000000000..17d397ebd5 --- /dev/null +++ b/meta/recipes-support/libpcre/libpcre2_10.23.bb | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | DESCRIPTION = "There are two major versions of the PCRE library. The \ | ||
| 2 | newest version is PCRE2, which is a re-working of the original PCRE \ | ||
| 3 | library to provide an entirely new API. The original, very widely \ | ||
| 4 | deployed PCRE library's API and feature are stable, future releases \ | ||
| 5 | will be for bugfixes only. All new future features will be to PCRE2, \ | ||
| 6 | not the original PCRE 8.x series." | ||
| 7 | SUMMARY = "Perl Compatible Regular Expressions version 2" | ||
| 8 | HOMEPAGE = "http://www.pcre.org" | ||
| 9 | SECTION = "devel" | ||
| 10 | LICENSE = "BSD" | ||
| 11 | LIC_FILES_CHKSUM = "file://LICENCE;md5=3de34df49e1fe3c3b59a08dff214488b" | ||
| 12 | |||
| 13 | SRC_URI = "https://ftp.pcre.org/pub/pcre/pcre2-${PV}.tar.bz2 \ | ||
| 14 | file://pcre-cross.patch \ | ||
| 15 | " | ||
| 16 | |||
| 17 | SRC_URI[md5sum] = "b2cd00ca7e24049040099b0a46bb3649" | ||
| 18 | SRC_URI[sha256sum] = "dfc79b918771f02d33968bd34a749ad7487fa1014aeb787fad29dd392b78c56e" | ||
| 19 | |||
| 20 | S = "${WORKDIR}/pcre2-${PV}" | ||
| 21 | |||
| 22 | PROVIDES += "pcre2" | ||
| 23 | DEPENDS += "bzip2 zlib" | ||
| 24 | |||
| 25 | BINCONFIG = "${bindir}/pcre2-config" | ||
| 26 | |||
| 27 | inherit autotools binconfig-disabled | ||
| 28 | |||
| 29 | EXTRA_OECONF = "\ | ||
| 30 | --enable-newline-is-lf \ | ||
| 31 | --enable-rebuild-chartables \ | ||
| 32 | --with-link-size=2 \ | ||
| 33 | --with-match-limit=10000000 \ | ||
| 34 | " | ||
| 35 | |||
| 36 | # Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to | ||
| 37 | # set CFLAGS_FOR_BUILD, required for the libpcre build. | ||
| 38 | BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}/src" | ||
| 39 | CFLAGS += "-D_REENTRANT" | ||
| 40 | CXXFLAGS_append_powerpc = " -lstdc++" | ||
| 41 | |||
| 42 | export CCLD_FOR_BUILD ="${BUILD_CCLD}" | ||
| 43 | |||
| 44 | PACKAGES =+ "pcre2grep pcre2grep-doc pcre2test pcre2test-doc" | ||
| 45 | |||
| 46 | SUMMARY_pcre2grep = "grep utility that uses perl 5 compatible regexes" | ||
| 47 | SUMMARY_pcre2grep-doc = "grep utility that uses perl 5 compatible regexes - docs" | ||
| 48 | SUMMARY_pcre2test = "program for testing Perl-comatible regular expressions" | ||
| 49 | SUMMARY_pcre2test-doc = "program for testing Perl-comatible regular expressions - docs" | ||
| 50 | |||
| 51 | FILES_pcre2grep = "${bindir}/pcre2grep" | ||
| 52 | FILES_pcre2grep-doc = "${mandir}/man1/pcre2grep.1" | ||
| 53 | FILES_pcre2test = "${bindir}/pcre2test" | ||
| 54 | FILES_pcre2test-doc = "${mandir}/man1/pcre2test.1" | ||
| 55 | |||
| 56 | BBCLASSEXTEND = "native nativesdk" | ||
