From 2f954fcd4961c1c93a4e7e7196eeaa5671abb900 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 28 Mar 2004 12:10:41 +0000 Subject: apply misc. packaging patches courtesy Philip Blundell BKrev: 4066c0c1GbB5MlJ52Kb-TsfEZj5lxQ --- libpng/libpng_1.2.5.oe | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libpng/libpng_1.2.5.oe') diff --git a/libpng/libpng_1.2.5.oe b/libpng/libpng_1.2.5.oe index 91e0b68159..e76d8e63b9 100644 --- a/libpng/libpng_1.2.5.oe +++ b/libpng/libpng_1.2.5.oe @@ -3,8 +3,6 @@ SECTION = "libs" PRIORITY = "required" MAINTAINER = "Chris Larson " DEPENDS = "virtual/libc base/zlib" -RDEPENDS = "libc6 zlib1g" -RDEPENDS_append_libpng3 = " libpng12" FILES_${PN} = ${libdir}/lib*.so.* FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \ @@ -42,3 +40,8 @@ do_install () { 'DL=${D}/${libdir}' 'DM=${D}/${mandir}' \ install } + +python do_package_prepend() { + if oe.data.getVar('DEBIAN_NAMES', d, 1): + oe.data.setVar('PKG_${PN}', 'libpng12', d) +} -- cgit v1.2.3