Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 17ca2ea604
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (35 sloc) 0.976 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
#!/bin/sh -ex

. utilslib.sh

basedir=/src/libnss
baseurl=ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_7_RTM/src
version=3.12.7
tarball=nss-${version}-with-nspr-4.8.6.tar.gz
directory=nss-${version}
patch=nss-${version}-mingw.patch

#http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.5.exe

mkdir -p $basedir
pushd $basedir

utilslib_download $baseurl $tarball

if [ ! -d $directory ]
then
    echo unpacking $tarball ...
    tar -xvf $tarball
fi

pushd $directory

#if [ ! -f mingw.patch.applied ]
#then
# echo patching ...
# patch -p1 < ../../$patch
# echo applied > mingw.patch.applied
#fi

#if [ ! -f configure.done ]
#then
# CFLAGS=-I/include LDFLAGS=-L/lib ../configure --prefix= --enable-debug=yes \
# --without-xen --without-libvirtd --without-openvz \
# --without-lxc --without-vbox --without-python
# echo done > configure.done
#fi

#make
#make install

popd
popd
Something went wrong with that request. Please try again.