Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 63de641580
Fetching contributors…

Cannot retrieve contributors at this time

65 lines (54 sloc) 2.167 kb
#!/usr/bin/ksh93
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at COPYING
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at COPYING.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2010 Joyent Inc., All rights reserved.
#
set -o errexit
VERS=${1}
ROOT=$(pwd)
BIN_PREFIX=${DESTDIR}/usr/bin
PREFIX=${DESTDIR}/usr/lib/mps
INC_PREFIX=${DESTDIR}/usr/include/mps
echo PREFIX=${PREFIX}
mkdir -p ${PREFIX}
mkdir -p ${BIN_PREFIX}
mkdir -p ${INC_PREFIX}
source ../install.subr
cd ${ROOT}/${VERS}/mozilla/dist/SunOS5.11_i86pc_gcc_OPT.OBJ
_install N lib/libfreebl3.chk ${PREFIX}/libfreebl3.chk 555
_install N lib/libfreebl3.so ${PREFIX}/libfreebl3.so 555
_install N lib/libnss3.so ${PREFIX}/libnss3.so 555
_install N lib/libnssckbi.so ${PREFIX}/libnssckbi.so 555
_install N lib/libnssdbm3.chk ${PREFIX}/libnssdbm3.chk 555
_install N lib/libnssdbm3.so ${PREFIX}/libnssdbm3.so 555
_install N lib/libnssutil3.so ${PREFIX}/libnssutil3.so 555
_install N lib/libsmime3.so ${PREFIX}/libsmime3.so 555
_install N lib/libsoftokn3.chk ${PREFIX}/libsoftokn3.chk 555
_install N lib/libsoftokn3.so ${PREFIX}/libsoftokn3.so 555
_install N lib/libsqlite3.so ${PREFIX}/libsqlite3.so 555
_install N lib/libssl3.so ${PREFIX}/libssl3.so 555
_install N lib/libnspr4.so ${PREFIX}/libnspr4.so 555
_install N lib/libplc4.so ${PREFIX}/libplc4.so 555
_install N lib/libplds4.so ${PREFIX}/libplds4.so 555
_install N bin/certutil ${BIN_PREFIX}/certutil 555
cp -Lpr ${ROOT}/${VERS}/mozilla/dist/SunOS5.11_i86pc_gcc_OPT.OBJ/include/* \
${INC_PREFIX}
cp ${ROOT}/${VERS}/mozilla/dist/public/nss/* ${INC_PREFIX}
Jump to Line
Something went wrong with that request. Please try again.