aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
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:16:57 +0000
commitd70df34bcd6b345f600624f289ce688e5dd90f7e (patch)
treeb990806ffc7f23bbc52cc1ce99aa09d7ac10e474 /meta/recipes-support
parentdd0c9e755d47cd86cec3a3bae2482969460f2a3b (diff)
downloadopenembedded-core-contrib-d70df34bcd6b345f600624f289ce688e5dd90f7e.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; Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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-$
SRC_URI += "file://nspr.pc.in"
+RDEPENDS_${PN}-dev += "perl"
+
SRC_URI[md5sum] = "b6ccfa8fcbbeb17ebeb19a3edff612bd"
SRC_URI[sha256sum] = "616ab65c849155c9ed0e5f502530a241cc9108e278275aa448b417ae632c7604"
@@ -163,9 +165,14 @@ do_install_append() {
cd ${S}/pr/tests
mkdir -p ${D}${libdir}/nspr/tests
install -m 0755 ${TESTS} ${D}${libdir}/nspr/tests
+
+ # delete compile-et.pl and perr.properties from ${bindir} because these are
+ # only used to generate prerr.c and prerr.h files from prerr.et at compile
+ # time
+ rm ${D}${bindir}/compile-et.pl ${D}${bindir}/prerr.properties
}
-FILES_${PN} = "${bindir}/* ${libdir}/lib*.so"
-FILES_${PN}-dev = "${libdir}/nspr/tests/* ${libdir}/pkgconfig \
+FILES_${PN} = "${libdir}/lib*.so"
+FILES_${PN}-dev = "${bindir}/* ${libdir}/nspr/tests/* ${libdir}/pkgconfig \
${includedir}/* ${datadir}/aclocal/* "
FILES_${PN}-dbg += "${libdir}/nspr/tests/.debug/*"