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>
This commit is contained in:
parent
b3a4864de6
commit
9ea184d04d
|
@ -5,7 +5,7 @@ provides a POSIX calling interface to PCRE; the regular expressions \
|
|||
themselves still follow Perl syntax and semantics. The header file for \
|
||||
the POSIX-style functions is called pcreposix.h."
|
||||
SECTION = "devel"
|
||||
PR = "r0"
|
||||
PR = "r1"
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE;md5=77f9b14fe707d0376d89bc162e6c54ff"
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \
|
||||
|
@ -45,11 +45,7 @@ do_compile () {
|
|||
|
||||
python populate_packages_prepend () {
|
||||
pcre_libdir = bb.data.expand('${libdir}', d)
|
||||
pcre_libdir_dbg = bb.data.expand('${libdir}/.debug', d)
|
||||
do_split_packages(d, pcre_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev', allow_links=True)
|
||||
do_split_packages(d, pcre_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev')
|
||||
do_split_packages(d, pcre_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'libpcre %s development package', extra_depends='${PN}-dev')
|
||||
do_split_packages(d, pcre_libdir, '^lib(.*)\.so\.*', 'lib%s', 'libpcre %s library', extra_depends='', allow_links=True)
|
||||
do_split_packages(d, pcre_libdir, '^lib(.*)\.so\.+', 'lib%s', 'libpcre %s library', extra_depends='', allow_links=True)
|
||||
}
|
||||
|
||||
FILES_${PN} = "${libdir}/libpcre.so.*"
|
||||
|
|
Loading…
Reference in New Issue