summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/db3_3.2.9.oe12
1 files changed, 10 insertions, 2 deletions
diff --git a/db/db3_3.2.9.oe b/db/db3_3.2.9.oe
index a92c0af6cf..c95cd513f2 100644
--- a/db/db3_3.2.9.oe
+++ b/db/db3_3.2.9.oe
@@ -13,8 +13,11 @@ EXTRA_OEMAKE = "'SHELL=/bin/sh' 'ar=`which ${AR}` cr' 'chmod=`which chmod`' \
'cp=`which cp`' 'ln=`which ln`' 'mkdir=`which mkdir`' 'ranlib=`which ${RANLIB}`' \
'rm=`which rm`' 'strip=`which ${STRIP}`'"
-FILES_${PN} = "${bindir} ${libdir}/libdb-3.2*"
-FILES_${PN}-dev = "${includedir} ${libdir}/libdb.so ${libdir}/libdb.a ${libdir}/libdb-3.so"
+PACKAGES = "${PN} ${PN}-bin ${PN}-dev ${PN}-doc ${PN}-locale"
+
+FILES_${PN} = "${libdir}/libdb-3.2*so*"
+FILES_${PN}-bin = "${bindir}"
+FILES_${PN}-dev = "${includedir} ${libdir}/libdb.so ${libdir}/libdb.a ${libdir}/libdb-3.so ${libdir}/libdb.la"
do_configure_prepend () {
set -e
@@ -80,3 +83,8 @@ do_install () {
install
done
}
+
+python do_package_prepend() {
+ if oe.data.getVar('DEBIAN_NAMES', d, 1):
+ oe.data.setVar('PKG_${PN}', 'libdb3', d)
+}