summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/nss/.footprint2
-rw-r--r--extra/nss/Pkgfile16
2 files changed, 17 insertions, 1 deletions
diff --git a/extra/nss/.footprint b/extra/nss/.footprint
index e0819048f..c2fc3aece 100644
--- a/extra/nss/.footprint
+++ b/extra/nss/.footprint
@@ -115,3 +115,5 @@ drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libsoftokn3.chk
-rwxr-xr-x root/root usr/lib/libsoftokn3.so
-rwxr-xr-x root/root usr/lib/libssl3.so
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/nss.pc
diff --git a/extra/nss/Pkgfile b/extra/nss/Pkgfile
index 1a9f89c0f..7203ab09a 100644
--- a/extra/nss/Pkgfile
+++ b/extra/nss/Pkgfile
@@ -6,7 +6,7 @@
name=nss
version=3.12.3
-release=1
+release=2
source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_3_RTM/src/$name-$version.tar.bz2
\
nss-config.in)
@@ -45,4 +45,18 @@ build() {
# we have to provide our own nss-config, because xulrunner needs it
install -m 0755 $SRC/nss-config.in $PKG/usr/bin/nss-config
sed -i "s/@VERSION@/$version/" $PKG/usr/bin/nss-config
+mkdir -p $PKG/usr/lib/pkgconfig
+cat > $PKG/usr/lib/pkgconfig/nss.pc << "EOF"
+prefix=/usr
+exec_prefix=/usr
+libdir=/usr/lib
+includedir=/usr/include/nss
+
+Name: NSS
+Description: Mozilla Network Security Services
+Version: $version
+Requires: nspr >= 4.7.4
+Libs: -L/usr/lib -lnss3 -lnssutil3 -lsmime3 -lssl3 -lsoftokn3
+Cflags: -I/usr/include/nss
+EOF
}