libxml2_2.6.29.bb : use new DEBIANNAME handling to rename libxml2
authorGraeme Gregory <dp@xora.org.uk>
Thu, 24 Jan 2008 11:02:13 +0000 (11:02 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Thu, 24 Jan 2008 11:02:13 +0000 (11:02 +0000)
packages/libxml/libxml2_2.6.29.bb

index 521ba16..6f1c863 100644 (file)
@@ -22,11 +22,7 @@ do_stage() {
        install -m 0755 xml2-config ${STAGING_BINDIR_CROSS}
 }
 
-python populate_packages_prepend () {
-       # autonamer would call this libxml2-2, but we don't want that
-       if bb.data.getVar('DEBIAN_NAMES', d, 1):
-               bb.data.setVar('PKG_libxml2', 'libxml2', d)
-}
+DEBIANNAME_${PN} = "libxml2"
 
 PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"