summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-03-25 18:08:18 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-25 16:17:00 +0000
commit5ec19c8bccdb20cd392969b8a14d72f6114757cf (patch)
tree9c76404bcf3549805a67d68f92db5cb8a5f35740
parenta6c6a8ddb6bd6138e13434d0a44dc427e75546df (diff)
downloadpoky-5ec19c8bccdb20cd392969b8a14d72f6114757cf.tar.gz
nspr: remove unnecessary files from the main package
This patch does the following: * removes compile-et.pl and prerr.properties from the main package because these files are needed only at compile time; * moves nspr-config script to nspr-dev package where it belongs; * adds 'perl' RDEPENDS for nspr-dev since the package contains a perl script for running some tests; (From OE-Core rev: d70df34bcd6b345f600624f289ce688e5dd90f7e) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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/*"