diff options
Diffstat (limited to 'crypto/nss/INSTALL')
-rwxr-xr-x | crypto/nss/INSTALL | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/crypto/nss/INSTALL b/crypto/nss/INSTALL new file mode 100755 index 0000000000..4529cbc6a7 --- /dev/null +++ b/crypto/nss/INSTALL @@ -0,0 +1,22 @@ +### cheating to get them all in one place +cd $SOURCE_DIRECTORY/nss && +make_normal && +make install && + +# copy NSS configuration info +install --mode=644 $SCRIPT_DIRECTORY/mozilla-nss.pc $INSTALL_ROOT/usr/lib/pkgconfig/ && + +# copy header files +install -d --mode=755 $INSTALL_ROOT/usr/include/nss && +find lib -type f -name '*.h' | while read __HEADER; do + install --mode=644 $__HEADER $INSTALL_ROOT/usr/include/nss/ +done && + +# there's going to be only one of these directories +cd $(find .. -maxdepth 1 -type d -name 'Linux*.OBJ' | head -n 1) && + +# manually do the real install +cd bin && +install --mode=755 * $INSTALL_ROOT/usr/bin/ && +cd ../lib && +install --mode=755 * $INSTALL_ROOT/usr/lib/ |