summaryrefslogtreecommitdiffstats
path: root/extra/nss/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-12 21:59:18 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-12 21:59:18 +0100
commit1604fde78f0b11bb95cb0996cce8e82ad0910848 (patch)
treef215d3617997bf3ea8af89c5f51f5570b893d075 /extra/nss/Pkgfile
parent2b267bca0f12ccec7eb9c785d2d285ef5eeb702e (diff)
downloadnutyx-pakxe-1604fde78f0b11bb95cb0996cce8e82ad0910848.tar.gz
nutyx-pakxe-1604fde78f0b11bb95cb0996cce8e82ad0910848.tar.bz2
nutyx-pakxe-1604fde78f0b11bb95cb0996cce8e82ad0910848.tar.xz
nutyx-pakxe-1604fde78f0b11bb95cb0996cce8e82ad0910848.zip
maj nss#3.12.3-2
Diffstat (limited to 'extra/nss/Pkgfile')
-rw-r--r--extra/nss/Pkgfile16
1 files changed, 15 insertions, 1 deletions
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
}