From: Andrei Gherzan Date: Fri, 13 Apr 2012 10:34:18 +0000 (+0300) Subject: gdbm: Package compat libs in gdbm-compat X-Git-Tag: 2015-4~11005 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=703d7efdf7679040f19430458cd575cded5c600e;p=openembedded-core.git gdbm: Package compat libs in gdbm-compat In order to avoid breaking packages which depend on old package name libgdbm4 (>= 1.10), compat libs are packaged into a separate package named gdbm-compat. Signed-off-by: Andrei Gherzan Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/gdbm/gdbm_1.10.bb b/meta/recipes-support/gdbm/gdbm_1.10.bb index 26b80093e7..6b68d27cce 100644 --- a/meta/recipes-support/gdbm/gdbm_1.10.bb +++ b/meta/recipes-support/gdbm/gdbm_1.10.bb @@ -4,7 +4,7 @@ SECTION = "libs" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=241da1b9fe42e642cbb2c24d5e0c4d24" -PR = "r2" +PR = "r3" SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz" @@ -25,3 +25,8 @@ do_install_append () { ln -sf ../ndbm.h ${D}/${includedir}/gdbm/ndbm.h ln -sf ../gdbm.h ${D}/${includedir}/gdbm/gdbm.h } + +PACKAGES =+ "${PN}-compat \ + " +FILES_${PN}-compat = "${libdir}/libgdbm_compat${SOLIBS} \ + "