summaryrefslogtreecommitdiff
path: root/libpng
diff options
context:
space:
mode:
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)
}