diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 13:20:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 23:27:26 +0100 |
commit | 9ea184d04d0fe7161ac3f290e24cb2b89f81498d (patch) | |
tree | a70cedc8e095b26ad7f246fb9f14957e0046bc22 /meta/recipes-support | |
parent | b3a4864de6a391f352181f923c5a73fb81e2b508 (diff) | |
download | poky-9ea184d04d0fe7161ac3f290e24cb2b89f81498d.tar.gz |
libpcre: Fix QA warnings
This drops the split -dev packaging since it was broken and overcomplex. It ensures .so
symlinks end up in the correct package.
(From OE-Core rev: a71699ae1acd63a7dfe590d8b0b4cdb0f9785c6a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.12.bb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta/recipes-support/libpcre/libpcre_8.12.bb b/meta/recipes-support/libpcre/libpcre_8.12.bb index 0301ddb30b..33003c5cdf 100644 --- a/meta/recipes-support/libpcre/libpcre_8.12.bb +++ b/meta/recipes-support/libpcre/libpcre_8.12.bb | |||
@@ -5,7 +5,7 @@ provides a POSIX calling interface to PCRE; the regular expressions \ | |||
5 | themselves still follow Perl syntax and semantics. The header file for \ | 5 | themselves still follow Perl syntax and semantics. The header file for \ |
6 | the POSIX-style functions is called pcreposix.h." | 6 | the POSIX-style functions is called pcreposix.h." |
7 | SECTION = "devel" | 7 | SECTION = "devel" |
8 | PR = "r0" | 8 | PR = "r1" |
9 | LICENSE = "BSD" | 9 | LICENSE = "BSD" |
10 | LIC_FILES_CHKSUM = "file://LICENCE;md5=77f9b14fe707d0376d89bc162e6c54ff" | 10 | LIC_FILES_CHKSUM = "file://LICENCE;md5=77f9b14fe707d0376d89bc162e6c54ff" |
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \ | 11 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \ |
@@ -45,11 +45,7 @@ do_compile () { | |||
45 | 45 | ||
46 | python populate_packages_prepend () { | 46 | python populate_packages_prepend () { |
47 | pcre_libdir = bb.data.expand('${libdir}', d) | 47 | pcre_libdir = bb.data.expand('${libdir}', d) |
48 | pcre_libdir_dbg = bb.data.expand('${libdir}/.debug', d) | 48 | do_split_packages(d, pcre_libdir, '^lib(.*)\.so\.+', 'lib%s', 'libpcre %s library', extra_depends='', allow_links=True) |
49 | do_split_packages(d, pcre_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev', allow_links=True) | ||
50 | do_split_packages(d, pcre_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev') | ||
51 | do_split_packages(d, pcre_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev') | ||
52 | do_split_packages(d, pcre_libdir, '^lib(.*)\.so\.*', 'lib%s', 'libpcre %s library', extra_depends='', allow_links=True) | ||
53 | } | 49 | } |
54 | 50 | ||
55 | FILES_${PN} = "${libdir}/libpcre.so.*" | 51 | FILES_${PN} = "${libdir}/libpcre.so.*" |