summaryrefslogtreecommitdiff
path: root/libpng
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-29 19:53:33 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-29 19:53:33 +0000
commit05d47a7fea7e175182968be8ee7abc86519c5a7c (patch)
tree58f04bd8c65afe88528ad7f66e38572b3a632f1f /libpng
parent98e1f73a0cc6a615a209d3360eb9a99853224428 (diff)
Work around the libpng python do_package_prepend failure.
BKrev: 40687ebdei5In0Ujrri6tswdbGxNTg
Diffstat (limited to 'libpng')
-rw-r--r--libpng/libpng_1.2.5.oe9
1 files changed, 5 insertions, 4 deletions
diff --git a/libpng/libpng_1.2.5.oe b/libpng/libpng_1.2.5.oe
index e76d8e63b9..c241718d7c 100644
--- a/libpng/libpng_1.2.5.oe
+++ b/libpng/libpng_1.2.5.oe
@@ -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)
}