CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
firefox: updated to 41.0
[ports/opt-arm.git] / nss / Pkgfile
index 9b7d4de5b716f4719dff359ee41a078248818078..9155fad9a7861f9a1adcbaf34c98b676f8230cf7 100644 (file)
@@ -5,9 +5,9 @@
 # Depends on: nspr sqlite3
 
 name=nss
-version=3.16
-release=2
-source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_16_RTM/src/$name-$version.tar.gz \
+version=3.20
+release=1
+source=(http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_20_RTM/src/$name-$version.tar.gz \
         nss-config.in nss.pc.in)
 
 build() {
@@ -55,12 +55,14 @@ build() {
 
     NSS_LIBS=`$PKG/usr/bin/nss-config --libs`
     NSS_CFLAGS=`$PKG/usr/bin/nss-config --cflags`
+    NSPR_VERSION=`pkg-config --modversion nspr`
     sed $SRC/nss.pc.in \
         -e "s,%libdir%,/usr/lib," \
         -e "s,%prefix%,/usr," \
         -e "s,%exec_prefix%,/usr/bin," \
         -e "s,%includedir%,/usr/include/nss," \
         -e "s,%NSS_VERSION%,$version," \
+        -e "s,%NSPR_VERSION%,$NSPR_VERSION," \
         -e "s,%FULL_NSS_LIBS%,$NSS_LIBS," \
         -e "s,%FULL_NSS_CFLAGS%,$NSS_CFLAGS," > \
             $PKG/usr/lib/pkgconfig/nss.pc