-7a8cb5418ac8aa15d91d7bc549698268 nss-3.15.5.tar.gz
+0a6f8503d08c078d64d500e77678e33c nss-3.16.tar.gz
17226659298a9d9bb3f323186d220f6f nss-config.in
4bb2893f773bb168271521e654861e29 nss.pc.in
# Depends on: nspr sqlite3
name=nss
-version=3.15.5
-release=1
-source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_15_5_RTM/src/$name-$version.tar.gz \
+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 \
nss-config.in nss.pc.in)
build() {
install -m 0755 $SRC/nss-config.in $PKG/usr/bin/nss-config
- sed -i "s/@VERSION@/$version/" $PKG/usr/bin/nss-config
+ _version=$(printf "%i.%i.%i" ${version//./ })
+ sed -i "s/@VERSION@/$_version/" $PKG/usr/bin/nss-config
NSS_LIBS=`$PKG/usr/bin/nss-config --libs`
NSS_CFLAGS=`$PKG/usr/bin/nss-config --cflags`