diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 21:52:17 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-11 21:52:17 +0200 |
commit | e189aea50122bfc13ccd920228430923337252bd (patch) | |
tree | dd01cae7a0684ac491e6735d86d904479a2e2b9b /extra/nss/Pkgfile | |
parent | a457a30953911e05e70a5c35db8b1599840c09ee (diff) | |
download | nutyx-extra-e189aea50122bfc13ccd920228430923337252bd.tar.gz nutyx-extra-e189aea50122bfc13ccd920228430923337252bd.tar.bz2 nutyx-extra-e189aea50122bfc13ccd920228430923337252bd.tar.xz nutyx-extra-e189aea50122bfc13ccd920228430923337252bd.zip |
Ajout de nss#3.12.3-1
Diffstat (limited to 'extra/nss/Pkgfile')
-rw-r--r-- | extra/nss/Pkgfile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/extra/nss/Pkgfile b/extra/nss/Pkgfile new file mode 100644 index 000000000..7c892bdbd --- /dev/null +++ b/extra/nss/Pkgfile @@ -0,0 +1,49 @@ +# Description: Service de sécurité de réseaux de Mozilla +# URL: http://www.mozilla.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: nspr, sqlite3 + +name=nss +version=3.12.3 +release=1 +source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_3_RTM/src/$name-$version.tar.bz2 +\ + nss-config.in) + +build() { + cd $name-$version + + local file + + export NSPR_INCLUDE_DIR=/usr/include/nspr + export NSPR_LIB_DIR=/usr/lib + export NSS_USE_SYSTEM_SQLITE=1 + export BUILD_OPT=1 + + make -j1 -C mozilla/security/nss build_coreconf build_dbm all + + install -d $PKG/usr/{bin,lib,include/nss} + + for file in \ + libnss3.so libssl3.so libsmime3.so libsoftokn3.so \ + libsoftokn3.chk libnssckbi.so libfreebl3.so libfreebl3.chk \ + libcrmf.a libnssb.a libnssckfw.a libnssutil3.so libnssdbm3.so + do + install -m 0644 mozilla/dist/*.OBJ/lib/$file $PKG/usr/lib + done + + chmod +x $PKG/usr/lib/*.so + + for file in \ + certutil cmsutil crlutil modutil pk12util signtool signver ssltap + do + install -m 0755 mozilla/dist/*.OBJ/bin/$file $PKG/usr/bin + done + + install -m 0644 mozilla/dist/public/nss/*.h $PKG/usr/include/nss + + # 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 +} |