diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-12-01 17:04:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-01 16:54:08 +0000 |
commit | 208f8f9e932f0429c855b284e6f3ff001d63904d (patch) | |
tree | 6b5b4306bb867f5c7115f8899a021f6d93bb2d59 /meta/recipes-core | |
parent | 1dcb2d8eeb034ce7cca035830889e23bcae0722c (diff) | |
download | poky-208f8f9e932f0429c855b284e6f3ff001d63904d.tar.gz |
zlib 1.2.5: install pkgconfig file, needed for e.g. modern webkit
Upstream has grown cmake support which would allow us to dump the OE autotools hack, but the cmakefile doesn't install the .pc file either and breaks with zlib-native
(From OE-Core rev: e1312eef88cb0f3f1557d431f0b31520b2a9968e)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/zlib/zlib_1.2.5.bb | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/meta/recipes-core/zlib/zlib_1.2.5.bb b/meta/recipes-core/zlib/zlib_1.2.5.bb index bca400ce4b..b5756d9424 100644 --- a/meta/recipes-core/zlib/zlib_1.2.5.bb +++ b/meta/recipes-core/zlib/zlib_1.2.5.bb | |||
@@ -7,12 +7,12 @@ LICENSE = "Zlib" | |||
7 | LIC_FILES_CHKSUM = "file://zlib.h;beginline=4;endline=23;md5=084e9c30e4e6272c3b057b13c6467f3d" | 7 | LIC_FILES_CHKSUM = "file://zlib.h;beginline=4;endline=23;md5=084e9c30e4e6272c3b057b13c6467f3d" |
8 | 8 | ||
9 | DEPENDS = "libtool-cross" | 9 | DEPENDS = "libtool-cross" |
10 | PR = "r1" | 10 | PR = "r3" |
11 | 11 | ||
12 | SRC_URI = "http://www.zlib.net/${BPN}-${PV}.tar.bz2 \ | 12 | SRC_URI = "http://www.zlib.net/${BPN}-${PV}.tar.bz2 \ |
13 | file://configure.ac \ | 13 | file://configure.ac \ |
14 | file://Makefile.am \ | 14 | file://Makefile.am \ |
15 | file://fix.inverted.LFS.logic.patch" | 15 | file://fix.inverted.LFS.logic.patch" |
16 | 16 | ||
17 | SRC_URI[md5sum] = "be1e89810e66150f5b0327984d8625a0" | 17 | SRC_URI[md5sum] = "be1e89810e66150f5b0327984d8625a0" |
18 | SRC_URI[sha256sum] = "239aead2f22f16bfcfa6a6a5150dcbd6d6f2e4d1eaa8727b5769ea014120b307" | 18 | SRC_URI[sha256sum] = "239aead2f22f16bfcfa6a6a5150dcbd6d6f2e4d1eaa8727b5769ea014120b307" |
@@ -24,4 +24,18 @@ do_configure_prepend () { | |||
24 | cp ${WORKDIR}/Makefile.am ${S}/ | 24 | cp ${WORKDIR}/Makefile.am ${S}/ |
25 | } | 25 | } |
26 | 26 | ||
27 | do_install_append () { | ||
28 | sed \ | ||
29 | -e 's:@prefix@:${prefix}:' \ | ||
30 | -e 's:@exec_prefix@:${exec_prefix}:' \ | ||
31 | -e 's:@libdir@:${libdir}:' \ | ||
32 | -e 's:@sharedlibdir@:${libdir}:' \ | ||
33 | -e 's:@includedir@:${includedir}:' \ | ||
34 | -e 's:@VERSION@:${PV}:' \ | ||
35 | zlib.pc.in > zlib.pc | ||
36 | |||
37 | install -d ${D}${libdir}/pkgconfig | ||
38 | install -m 0644 zlib.pc ${D}${libdir}/pkgconfig/ | ||
39 | } | ||
40 | |||
27 | BBCLASSEXTEND = "native nativesdk" | 41 | BBCLASSEXTEND = "native nativesdk" |