Work around the libpng python do_package_prepend failure.
authorMichael Lauer <mickey@vanille-media.de>
Mon, 29 Mar 2004 19:53:33 +0000 (19:53 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 29 Mar 2004 19:53:33 +0000 (19:53 +0000)
BKrev: 40687ebdei5In0Ujrri6tswdbGxNTg

libpng/libpng_1.2.5.oe

index e76d8e6..c241718 100644 (file)
@@ -31,7 +31,7 @@ do_stage() {
        ln -sf ./libpng12.so ${STAGING_LIBDIR}/libpng.so
 }
 
-do_install () {
+do_install() {
        install -d ${D}/${bindir} ${D}/${mandir} \
                   ${D}/${libdir} ${D}/${includedir}
        unset LDFLAGS
@@ -41,7 +41,8 @@ do_install () {
                   install
 }
 
-python do_package_prepend() {
-       if oe.data.getVar('DEBIAN_NAMES', d, 1):
-               oe.data.setVar('PKG_${PN}', 'libpng12', d)
+python do_package() {
+       if oe.data.getVar('DEBIAN_NAMES', d, 1):
+               oe.data.setVar('PKG_${PN}', 'libpng12', d)
+       oe.build.exec_func('package_do_package', d)
 }