aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/nss_3.12.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-16 13:08:34 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-16 13:08:34 +0200
commit195ba1b1bdfebdb7d083f9837e244266685f4a2c (patch)
treee55cdf27fa4f9f7542d5a3d957130bd8e67c9847 /recipes/mozilla/nss_3.12.bb
parentbf18c876b0b6dd542f80dfccd575d9fa2c3a4fdf (diff)
downloadopenembedded-195ba1b1bdfebdb7d083f9837e244266685f4a2c.tar.gz
nss: add pkgconfig support
Diffstat (limited to 'recipes/mozilla/nss_3.12.bb')
-rw-r--r--recipes/mozilla/nss_3.12.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/mozilla/nss_3.12.bb b/recipes/mozilla/nss_3.12.bb
index 5edb1ba28b..c41d0a83f7 100644
--- a/recipes/mozilla/nss_3.12.bb
+++ b/recipes/mozilla/nss_3.12.bb
@@ -3,6 +3,8 @@ HOMEPAGE = "http://www.mozilla.org/projects/security/pki/nss/"
LICENSE = "MPL1.1 GPL LGPL"
+PR = "r1"
+
DEPENDS = "sqlite3 nspr"
SRC_URI = "\
@@ -17,6 +19,7 @@ SRC_URI = "\
file://91_build_pwdecrypt.dpatch;patch=1 \
file://95_add_spi+cacert_ca_certs.dpatch;patch=1 \
file://build-fix.patch;patch=1 \
+ file://nss.pc.in \
"
SRC_URI[archive.md5sum] = "917f4e05f3982bd7fceaede197f0e1d4"
@@ -93,6 +96,9 @@ do_install() {
install -m 755 -t ${D}/${bindir} $binary
done
+ install -d ${D}${libdir}/pkgconfig/
+ sed 's/@VERSION@/${PV}/' ${WORKDIR}/nss.pc.in > ${D}${libdir}/pkgconfig/nss.pc
+
}
FILES_${PN} = "${bindir} ${libdir}/nss/*.so"