summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-28 12:10:41 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-28 12:10:41 +0000
commit2f954fcd4961c1c93a4e7e7196eeaa5671abb900 (patch)
tree3f3ddcf1e126b5824974f4fd76e8d8f0c3295a8f /db
parent81538df0cba2eefc44792a00be8d1bd9ce435ef8 (diff)
apply misc. packaging patches courtesy Philip Blundell
BKrev: 4066c0c1GbB5MlJ52Kb-TsfEZj5lxQ
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)
+}