summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-05-04 15:17:21 -0700
committerArmin Kuster <akuster808@gmail.com>2019-05-04 15:18:57 -0700
commitae2be89c25087345975b1b56433348b17de96118 (patch)
treed138ad38ac139e6de247fb1be20e131f8799e067
parente96613c29126ba261c06a391c8d71b919de48812 (diff)
downloadopenembedded-core-contrib-ae2be89c25087345975b1b56433348b17de96118.tar.gz
openembedded-core-contrib-ae2be89c25087345975b1b56433348b17de96118.tar.bz2
openembedded-core-contrib-ae2be89c25087345975b1b56433348b17de96118.zip
nss: cleanup recipe to match OE style
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/recipes-support/nss/nss_3.43.bb15
1 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-support/nss/nss_3.43.bb b/meta/recipes-support/nss/nss_3.43.bb
index 14a17335a2..f8cf5a46af 100644
--- a/meta/recipes-support/nss/nss_3.43.bb
+++ b/meta/recipes-support/nss/nss_3.43.bb
@@ -8,6 +8,9 @@ v3 certificates, and other security standards."
HOMEPAGE = "http://www.mozilla.org/projects/security/pki/nss/"
SECTION = "libs"
+DEPENDS = "sqlite3 nspr zlib nss-native"
+DEPENDS_class-native = "sqlite3-native nspr-native zlib-native"
+
LICENSE = "MPL-2.0 | (MPL-2.0 & GPL-2.0+) | (MPL-2.0 & LGPL-2.1+)"
LIC_FILES_CHKSUM = "file://nss/COPYING;md5=3b1e88e1b9c0b5a4b2881d46cce06a18 \
@@ -38,10 +41,6 @@ UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes"
inherit siteinfo
-DEPENDS = "sqlite3 nspr zlib nss-native"
-DEPENDS_class-native = "sqlite3-native nspr-native zlib-native"
-RDEPENDS_${PN}-smime = "perl"
-
TD = "${S}/tentative-dist"
TDS = "${S}/tentative-dist-staging"
@@ -118,8 +117,8 @@ do_compile() {
OS_TEST=${OS_TEST} \
RPATH="${RPATH}"
}
-do_compile[vardepsexclude] += "SITEINFO_BITS"
+do_compile[vardepsexclude] += "SITEINFO_BITS"
do_install_prepend_class-nativesdk() {
export LDFLAGS=""
@@ -195,6 +194,7 @@ do_install() {
install -m 755 -t ${D}/${bindir} $binary
done
}
+
do_install[vardepsexclude] += "SITEINFO_BITS"
do_install_append() {
@@ -248,17 +248,20 @@ PACKAGES =+ "${PN}-smime"
FILES_${PN}-smime = "\
${bindir}/smime \
"
+
FILES_${PN} = "\
${sysconfdir} \
${bindir} \
${libdir}/lib*.chk \
${libdir}/lib*.so \
"
+
FILES_${PN}-dev = "\
${libdir}/nss \
${libdir}/pkgconfig/* \
${includedir}/* \
"
-BBCLASSEXTEND = "native nativesdk"
+RDEPENDS_${PN}-smime = "perl"
+BBCLASSEXTEND = "native nativesdk"