diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2016-12-14 23:28:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-03 09:51:32 +0000 |
commit | 62175510dcd223b3c8c280e390fee95752fa7b2b (patch) | |
tree | 78caf81a155fedbe1dc2b55fba187ef92b3831d0 /meta/recipes-support/nspr | |
parent | f2ff6a40c40032635af23323539636693a787b4c (diff) | |
download | poky-62175510dcd223b3c8c280e390fee95752fa7b2b.tar.gz |
nspr: set correct version in pkg-config file
while we are at it clean up sed
(From OE-Core rev: 69e9f7ec8ba8649784a27e9c7dc7a6987a53c22e)
(From OE-Core rev: cb4f5ecf32006192baaf41218a3d7b43ca1c2951)
(From OE-Core rev: 79f821fb6c1b425ca5cb5e6db360c2743d6c989e)
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nspr')
-rw-r--r-- | meta/recipes-support/nspr/nspr/nspr.pc.in | 2 | ||||
-rw-r--r-- | meta/recipes-support/nspr/nspr_4.12.bb | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-support/nspr/nspr/nspr.pc.in b/meta/recipes-support/nspr/nspr/nspr.pc.in index c37d0bcbd7..d74caabe4c 100644 --- a/meta/recipes-support/nspr/nspr/nspr.pc.in +++ b/meta/recipes-support/nspr/nspr/nspr.pc.in | |||
@@ -6,6 +6,6 @@ includedir=OEINCDIR | |||
6 | 6 | ||
7 | Name: NSPR | 7 | Name: NSPR |
8 | Description: The Netscape Portable Runtime | 8 | Description: The Netscape Portable Runtime |
9 | Version: 4.9.5 | 9 | Version: NSPRVERSION |
10 | Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl | 10 | Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 -lpthread -ldl |
11 | Cflags: | 11 | Cflags: |
diff --git a/meta/recipes-support/nspr/nspr_4.12.bb b/meta/recipes-support/nspr/nspr_4.12.bb index fa6d52357d..9345a51f39 100644 --- a/meta/recipes-support/nspr/nspr_4.12.bb +++ b/meta/recipes-support/nspr/nspr_4.12.bb | |||
@@ -160,10 +160,13 @@ do_compile_append() { | |||
160 | 160 | ||
161 | do_install_append() { | 161 | do_install_append() { |
162 | install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc | 162 | install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc |
163 | sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nspr.pc | 163 | sed -i \ |
164 | sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nspr.pc | 164 | -e 's:NSPRVERSION:${PV}:g' \ |
165 | sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/nspr.pc | 165 | -e 's:OEPREFIX:${prefix}:g' \ |
166 | sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nspr.pc | 166 | -e 's:OELIBDIR:${libdir}:g' \ |
167 | -e 's:OEINCDIR:${includedir}:g' \ | ||
168 | -e 's:OEEXECPREFIX:${exec_prefix}:g' \ | ||
169 | ${D}${libdir}/pkgconfig/nspr.pc | ||
167 | 170 | ||
168 | mkdir -p ${D}${libdir}/nspr/tests | 171 | mkdir -p ${D}${libdir}/nspr/tests |
169 | install -m 0755 ${S}/pr/tests/runtests.pl ${D}${libdir}/nspr/tests | 172 | install -m 0755 ${S}/pr/tests/runtests.pl ${D}${libdir}/nspr/tests |