diff options
Diffstat (limited to 'meta/packages/libpng/libpng_1.2.20.bb')
-rw-r--r-- | meta/packages/libpng/libpng_1.2.20.bb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/packages/libpng/libpng_1.2.20.bb b/meta/packages/libpng/libpng_1.2.20.bb deleted file mode 100644 index c6f9d2f649..0000000000 --- a/meta/packages/libpng/libpng_1.2.20.bb +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | DESCRIPTION = "PNG Library" | ||
2 | HOMEPAGE = "http://www.libpng.org/" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "libpng" | ||
5 | DEPENDS = "zlib" | ||
6 | PRIORITY = "required" | ||
7 | PR = "r9" | ||
8 | |||
9 | SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2 \ | ||
10 | file://makefile_fix.patch" | ||
11 | |||
12 | inherit autotools binconfig pkgconfig pkgconfig_stage | ||
13 | |||
14 | do_install() { | ||
15 | install -d ${D}${bindir} | ||
16 | install -d ${D}${mandir} | ||
17 | install -d ${D}${libdir} | ||
18 | install -d ${D}${includedir} | ||
19 | unset LDFLAGS | ||
20 | oe_runmake 'prefix=${prefix}' 'DESTDIR=${D}' \ | ||
21 | 'DB=${D}${bindir}' 'DI=${D}${includedir}' \ | ||
22 | 'DL=${D}${libdir}' 'DM=${D}${mandir}' \ | ||
23 | install | ||
24 | } | ||
25 | |||
26 | python do_package() { | ||
27 | if bb.data.getVar('DEBIAN_NAMES', d, 1): | ||
28 | bb.data.setVar('PKG_${PN}', 'libpng12', d) | ||
29 | bb.build.exec_func('package_do_package', d) | ||
30 | } | ||
31 | |||
32 | PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev" | ||
33 | |||
34 | FILES_${PN}12-dbg += "${libdir}/libpng12*.dbg" | ||
35 | FILES_${PN}12 = "${libdir}/libpng12${SOLIBS}" | ||
36 | FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc" | ||
37 | FILES_${PN} = "${libdir}/lib*${SOLIBS}" | ||
38 | FILES_${PN}-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \ | ||
39 | ${libdir}/*.a ${libdir}/pkgconfig \ | ||
40 | ${datadir}/aclocal ${bindir} ${sbindir}" | ||
41 | |||
42 | BBCLASSEXTEND = "native" | ||