27 lines
776 B
Plaintext
27 lines
776 B
Plaintext
|
# Description: Mozilla Network Security Services (NSS)
|
||
|
# URL: http://www.mozilla.org/projects/security/pki/nss/
|
||
|
# Maintainer: Simone Rota, sip at varlock dot com
|
||
|
# Packager: Simone Rota, sip at varlock dot com
|
||
|
# Depends on: zip
|
||
|
|
||
|
name=nss
|
||
|
version=3.9
|
||
|
release=1
|
||
|
source=(ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_9_RTM/src/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
cd mozilla/security/nss
|
||
|
export BUILD_OPT=1
|
||
|
make nss_build_all
|
||
|
make install
|
||
|
|
||
|
mkdir -p $PKG/usr/lib
|
||
|
mkdir -p $PKG/usr/include/nspr
|
||
|
find ../../dist/*/lib -type l \
|
||
|
\( -name "*.so" -o -name "*.chk" \) \
|
||
|
-exec cp -L {} $PKG/usr/lib \;
|
||
|
cp -Lr ../../dist/public/* $PKG/usr/include
|
||
|
cp -Lr ../../dist/*/include/* $PKG/usr/include/nspr
|
||
|
}
|