summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 12:20:00 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-01 22:27:26 (GMT)
commit9ea184d04d0fe7161ac3f290e24cb2b89f81498d (patch)
treea70cedc8e095b26ad7f246fb9f14957e0046bc22
parentb3a4864de6a391f352181f923c5a73fb81e2b508 (diff)
downloadpoky-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>
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.12.bb8
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 0301ddb..33003c5 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 \
5themselves still follow Perl syntax and semantics. The header file for \ 5themselves still follow Perl syntax and semantics. The header file for \
6the POSIX-style functions is called pcreposix.h." 6the POSIX-style functions is called pcreposix.h."
7SECTION = "devel" 7SECTION = "devel"
8PR = "r0" 8PR = "r1"
9LICENSE = "BSD" 9LICENSE = "BSD"
10LIC_FILES_CHKSUM = "file://LICENCE;md5=77f9b14fe707d0376d89bc162e6c54ff" 10LIC_FILES_CHKSUM = "file://LICENCE;md5=77f9b14fe707d0376d89bc162e6c54ff"
11SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \ 11SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \
@@ -45,11 +45,7 @@ do_compile () {
45 45
46python populate_packages_prepend () { 46python 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
55FILES_${PN} = "${libdir}/libpcre.so.*" 51FILES_${PN} = "${libdir}/libpcre.so.*"