diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-21 10:39:29 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-21 10:39:29 +0000 |
commit | 6f5035a9ccda297b0059f464b2fd98a016b86466 (patch) | |
tree | 59b24389fee701e83984ca3ea43e2c5ea30ecd25 /meta | |
parent | d1c347552d5251a43ab071f1ca33453bad57a047 (diff) | |
download | poky-6f5035a9ccda297b0059f464b2fd98a016b86466.tar.gz |
libpng: 1.2.8 -> 1.2.12
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@909 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/libpng/libpng-native_1.2.12.bb (renamed from meta/packages/libpng/libpng-native_1.2.8.bb) | 0 | ||||
-rw-r--r-- | meta/packages/libpng/libpng_1.2.12.bb (renamed from meta/packages/libpng/libpng_1.2.8.bb) | 27 |
2 files changed, 10 insertions, 17 deletions
diff --git a/meta/packages/libpng/libpng-native_1.2.8.bb b/meta/packages/libpng/libpng-native_1.2.12.bb index 231b956678..231b956678 100644 --- a/meta/packages/libpng/libpng-native_1.2.8.bb +++ b/meta/packages/libpng/libpng-native_1.2.12.bb | |||
diff --git a/meta/packages/libpng/libpng_1.2.8.bb b/meta/packages/libpng/libpng_1.2.12.bb index 52d8818f8a..c26d5e5d87 100644 --- a/meta/packages/libpng/libpng_1.2.8.bb +++ b/meta/packages/libpng/libpng_1.2.12.bb | |||
@@ -3,37 +3,30 @@ HOMEPAGE = "http://www.libpng.org/" | |||
3 | LICENSE = "libpng" | 3 | LICENSE = "libpng" |
4 | SECTION = "libs" | 4 | SECTION = "libs" |
5 | PRIORITY = "required" | 5 | PRIORITY = "required" |
6 | PR = "r5" | ||
6 | 7 | ||
7 | DEPENDS = "zlib" | 8 | DEPENDS = "zlib" |
8 | 9 | ||
9 | PACKAGES =+ "${PN}12 ${PN}12-dev" | 10 | PACKAGES =+ "${PN}12-dbg ${PN}12 ${PN}12-dev" |
10 | 11 | ||
11 | FILES_${PN}12 = ${libdir}/libpng12.so.* | 12 | FILES_${PN}12-dbg = "${libdir}/libpng12*.dbg" |
12 | FILES_${PN}12-dev = ${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc | 13 | FILES_${PN}12 = "${libdir}/libpng12.so.*" |
13 | FILES_${PN} = ${libdir}/lib*.so.* | 14 | FILES_${PN}12-dev = "${libdir}/libpng12.* ${includedir}/libpng12 ${libdir}/pkgconfig/libpng12.pc" |
14 | FILES_${PN}-dev = ${includedir} ${libdir}/lib*.so ${libdir}/*.la \ | 15 | FILES_${PN} = "${libdir}/lib*.so.*" |
16 | FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ | ||
15 | ${libdir}/*.a ${libdir}/pkgconfig \ | 17 | ${libdir}/*.a ${libdir}/pkgconfig \ |
16 | ${datadir}/aclocal ${bindir} ${sbindir} | 18 | ${datadir}/aclocal ${bindir} ${sbindir}" |
17 | 19 | ||
18 | SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2" | 20 | SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2" |
19 | S = "${WORKDIR}/libpng-${PV}" | 21 | S = "${WORKDIR}/libpng-${PV}" |
20 | 22 | ||
21 | inherit pkgconfig binconfig | 23 | inherit autotools binconfig pkgconfig |
22 | |||
23 | EXTRA_OEMAKE_append = " ZLIBINC=${STAGING_INCDIR} ZLIBLIB=${STAGING_LIBDIR}" | ||
24 | |||
25 | do_compile() { | ||
26 | sed < scripts/makefile.linux > makefile -e 's/^ZLIBINC.*//' -e 's/^ZLIBLIB.*//' | ||
27 | unset LDFLAGS | ||
28 | oe_runmake 'CC=${CC}' 'LD=${LD}' 'CFLAGS=${CFLAGS}' \ | ||
29 | 'ZLIBINC=${STAGING_INCDIR}' \ | ||
30 | 'ZLIBLIB=${STAGING_LIBDIR}' | ||
31 | } | ||
32 | 24 | ||
33 | do_stage() { | 25 | do_stage() { |
34 | cp libpng.pc libpng12.pc | 26 | cp libpng.pc libpng12.pc |
35 | install -m 644 png.h ${STAGING_INCDIR}/png.h | 27 | install -m 644 png.h ${STAGING_INCDIR}/png.h |
36 | install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h | 28 | install -m 644 pngconf.h ${STAGING_INCDIR}/pngconf.h |
29 | oe_libinstall -so libpng ${STAGING_LIBDIR}/ | ||
37 | oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ | 30 | oe_libinstall -so libpng12 ${STAGING_LIBDIR}/ |
38 | ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so | 31 | ln -sf libpng12.so ${STAGING_LIBDIR}/libpng.so |
39 | } | 32 | } |