diff options
-rw-r--r-- | meta/recipes-support/nspr/nspr_4.9.5.bb | 11 |
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 | ||
17 | SRC_URI += "file://nspr.pc.in" | 17 | SRC_URI += "file://nspr.pc.in" |
18 | 18 | ||
19 | RDEPENDS_${PN}-dev += "perl" | ||
20 | |||
19 | SRC_URI[md5sum] = "b6ccfa8fcbbeb17ebeb19a3edff612bd" | 21 | SRC_URI[md5sum] = "b6ccfa8fcbbeb17ebeb19a3edff612bd" |
20 | SRC_URI[sha256sum] = "616ab65c849155c9ed0e5f502530a241cc9108e278275aa448b417ae632c7604" | 22 | SRC_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 | ||
168 | FILES_${PN} = "${bindir}/* ${libdir}/lib*.so" | 175 | FILES_${PN} = "${libdir}/lib*.so" |
169 | FILES_${PN}-dev = "${libdir}/nspr/tests/* ${libdir}/pkgconfig \ | 176 | FILES_${PN}-dev = "${bindir}/* ${libdir}/nspr/tests/* ${libdir}/pkgconfig \ |
170 | ${includedir}/* ${datadir}/aclocal/* " | 177 | ${includedir}/* ${datadir}/aclocal/* " |
171 | FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*" | 178 | FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*" |