diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-01-03 16:38:03 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-06 11:14:01 +0000 |
commit | 12c181f5ed348bdd0dd24040ec749858b223ceee (patch) | |
tree | 38332adec16007765f22d2ca0dc90802ca4c8457 /meta/recipes-support/libpcre/libpcre_8.34.bb | |
parent | 5b711eb91ec63f4b977778ca74a7a6a1163536f9 (diff) | |
download | poky-12c181f5ed348bdd0dd24040ec749858b223ceee.tar.gz |
libpcre: upgrade to 8.34
Upgrade libpcre to 8.34.
(From OE-Core rev: 11f90a720194499447f9b6e738fd56d78a0c2fee)
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libpcre/libpcre_8.34.bb')
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.34.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.34.bb b/meta/recipes-support/libpcre/libpcre_8.34.bb new file mode 100644 index 0000000000..0c2b0828b1 --- /dev/null +++ b/meta/recipes-support/libpcre/libpcre_8.34.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | DESCRIPTION = "The PCRE library is a set of functions that implement regular \ | ||
2 | expression pattern matching using the same syntax and semantics as Perl 5. PCRE \ | ||
3 | has its own native API, as well as a set of wrapper functions that correspond \ | ||
4 | to the POSIX regular expression API." | ||
5 | SUMMARY = "Perl Compatible Regular Expressions" | ||
6 | HOMEPAGE = "http://www.pcre.org" | ||
7 | SECTION = "devel" | ||
8 | LICENSE = "BSD" | ||
9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0920cc1a9f7ba95464491fa83c86afd8" | ||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/pcre/pcre/${PV}/pcre-${PV}.tar.bz2 \ | ||
11 | file://pcre-cross.patch \ | ||
12 | file://fix-pcre-name-collision.patch" | ||
13 | |||
14 | SRC_URI[md5sum] = "5439e321351bddd5533551bbce128d07" | ||
15 | SRC_URI[sha256sum] = "b6043ae1ff2720be665ffa28dc22b7c637cdde96f389a116c0c3020caeae583f" | ||
16 | |||
17 | S = "${WORKDIR}/pcre-${PV}" | ||
18 | |||
19 | PROVIDES += "pcre" | ||
20 | DEPENDS += "bzip2 zlib" | ||
21 | |||
22 | PACKAGECONFIG[pcretest-readline] = "--enable-pcretest-libreadline,--disable-pcretest-libreadline,readline," | ||
23 | |||
24 | inherit autotools binconfig | ||
25 | |||
26 | PARALLEL_MAKE = "" | ||
27 | |||
28 | EXTRA_OECONF = "\ | ||
29 | --enable-newline-is-lf \ | ||
30 | --enable-rebuild-chartables \ | ||
31 | --enable-utf8 \ | ||
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}" | ||
39 | CFLAGS += "-D_REENTRANT" | ||
40 | CXXFLAGS_append_powerpc = " -lstdc++" | ||
41 | |||
42 | PACKAGES =+ "libpcrecpp libpcreposix pcregrep pcregrep-doc pcretest pcretest-doc" | ||
43 | |||
44 | SUMMARY_libpcrecpp = "${SUMMARY} - C++ wrapper functions" | ||
45 | SUMMARY_libpcreposix = "${SUMMARY} - C wrapper functions based on the POSIX regex API" | ||
46 | SUMMARY_pcregrep = "grep utility that uses perl 5 compatible regexes" | ||
47 | SUMMARY_pcregrep-doc = "grep utility that uses perl 5 compatible regexes - docs" | ||
48 | SUMMARY_pcretest = "program for testing Perl-comatible regular expressions" | ||
49 | SUMMARY_pcretest-doc = "program for testing Perl-comatible regular expressions - docs" | ||
50 | |||
51 | FILES_libpcrecpp = "${libdir}/libpcrecpp.so.*" | ||
52 | FILES_libpcreposix = "${libdir}/libpcreposix.so.*" | ||
53 | FILES_pcregrep = "${bindir}/pcregrep" | ||
54 | FILES_pcregrep-doc = "${mandir}/man1/pcregrep.1" | ||
55 | FILES_pcretest = "${bindir}/pcretest" | ||
56 | FILES_pcretest-doc = "${mandir}/man1/pcretest.1" | ||
57 | |||
58 | BBCLASSEXTEND = "native nativesdk" | ||