summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nspr
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/nspr')
-rw-r--r--meta/recipes-support/nspr/nspr_4.9.5.bb11
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-support/nspr/nspr_4.9.5.bb b/meta/recipes-support/nspr/nspr_4.9.5.bb
index 7975d149fc..d18b12e086 100644
--- a/meta/recipes-support/nspr/nspr_4.9.5.bb
+++ b/meta/recipes-support/nspr/nspr_4.9.5.bb
@@ -16,6 +16,8 @@ SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-$
16 16
17SRC_URI += "file://nspr.pc.in" 17SRC_URI += "file://nspr.pc.in"
18 18
19RDEPENDS_${PN}-dev += "perl"
20
19SRC_URI[md5sum] = "b6ccfa8fcbbeb17ebeb19a3edff612bd" 21SRC_URI[md5sum] = "b6ccfa8fcbbeb17ebeb19a3edff612bd"
20SRC_URI[sha256sum] = "616ab65c849155c9ed0e5f502530a241cc9108e278275aa448b417ae632c7604" 22SRC_URI[sha256sum] = "616ab65c849155c9ed0e5f502530a241cc9108e278275aa448b417ae632c7604"
21 23
@@ -163,9 +165,14 @@ do_install_append() {
163 cd ${S}/pr/tests 165 cd ${S}/pr/tests
164 mkdir -p ${D}${libdir}/nspr/tests 166 mkdir -p ${D}${libdir}/nspr/tests
165 install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests 167 install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests
168
169 # delete compile-et.pl and perr.properties from ${bindir} because these are
170 # only used to generate prerr.c and prerr.h files from prerr.et at compile
171 # time
172 rm ${D}${bindir}/compile-et.pl ${D}${bindir}/prerr.properties
166} 173}
167 174
168FILES_${PN} = "${bindir}/* ${libdir}/lib*.so" 175FILES_${PN} = "${libdir}/lib*.so"
169FILES_${PN}-dev = "${libdir}/nspr/tests/* ${libdir}/pkgconfig \ 176FILES_${PN}-dev = "${bindir}/* ${libdir}/nspr/tests/* ${libdir}/pkgconfig \
170 ${includedir}/* ${datadir}/aclocal/* " 177 ${includedir}/* ${datadir}/aclocal/* "
171FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*" 178FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*"