summaryrefslogtreecommitdiff
path: root/package/nss
diff options
context:
space:
mode:
Diffstat (limited to 'package/nss')
-rw-r--r--package/nss/Makefile8
-rw-r--r--package/nss/files/nss.pc11
2 files changed, 17 insertions, 2 deletions
diff --git a/package/nss/Makefile b/package/nss/Makefile
index ccef89c8a..1716dfa46 100644
--- a/package/nss/Makefile
+++ b/package/nss/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= nss
PKG_VERSION:= 3.13.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MAJ_VERSION:= 3
PKG_MIN_VERSION:= 13
PKG_PATCH_VERSION:= 3
@@ -13,6 +13,7 @@ PKG_MD5SUM:= 006cb82fa900e9e664b4b14a9b7810ca
PKG_DESCR:= Network Security Services (NSS) library
PKG_SECTION:= libs
PKG_BUILDDEP:= nspr zlib
+PKG_DEPENDS:= nspr
PKG_URL:= http://www.mozilla.org/projects/security/pki/nss/
PKG_SITES:= ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_3_RTM/src/
PKG_NOPARALLEL:= 1
@@ -53,9 +54,12 @@ post-install:
${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/include/nss
${INSTALL_DATA} ${WRKDIST}/mozilla/dist/public/nss/* \
${STAGING_TARGET_DIR}/usr/include/nss
- # needed for firefox 4
+ # needed for firefox
${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/lib
$(INSTALL_DATA) ${WRKDIST}/dist/lib/libcrmf.a \
${STAGING_TARGET_DIR}/usr/lib
+ # needed for corosync
+ $(INSTALL_DIR) ${WRKINST}/usr/lib/pkgconfig
+ $(CP) ./files/nss.pc ${WRKINST}/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/nss/files/nss.pc b/package/nss/files/nss.pc
new file mode 100644
index 000000000..4350b73a9
--- /dev/null
+++ b/package/nss/files/nss.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=/usr/bin
+libdir=${prefix}/lib
+includedir=${prefix}/include/nss3
+
+Name: NSS
+Description: Network Security Services
+Version: 3.12.3
+Requires: sqlite3 nspr >= 4.8
+Libs: -L${libdir} -lssl3 -lsmime3 -lnss3 -lnssutil3
+Cflags: -I${includedir}