wok diff nss/receipt @ rev 8331
Add: nagios-nrpe
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Feb 02 01:17:51 2011 +0100 (2011-02-02) |
parents | 0ba128f4fff0 |
children | ad81b6467d55 |
line diff
1.1 --- a/nss/receipt Tue Sep 28 03:43:12 2010 +0000 1.2 +++ b/nss/receipt Wed Feb 02 01:17:51 2011 +0100 1.3 @@ -1,12 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="nss" 1.7 -VERSION="3.12.7" 1.8 +VERSION="3.12.8" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="Mozilla Network Security Services (NSS)." 1.11 MAINTAINER="rocky@slitaz.org" 1.12 -DEPENDS="libfirefox sqlite zlib" 1.13 -BUILD_DEPENDS="firefox-dev sqlite-dev zlib-dev perl" 1.14 +DEPENDS="nspr sqlite zlib" 1.15 +BUILD_DEPENDS="nspr-dev sqlite-dev zlib-dev perl pkg-config" 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WEB_SITE="http://www.mozilla.org/projects/security/pki/nss/" 1.18 WGET_URL="ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_${VERSION//./_}_RTM/src/${TARBALL}" 1.19 @@ -24,12 +24,22 @@ 1.20 # Removes rpath 1.21 patch -Np0 -i ../stuff/nss-no-rpath.patch 1.22 1.23 - export NSPR_INCLUDE_DIR=$(ls -d /usr/include/firefox-*) 1.24 - export NSPR_LIB_DIR=$(ls -d /usr/lib/firefox-*/lib) 1.25 + cd $src/mozilla/security/nss/lib/ckfw/builtins 1.26 + make generate 1.27 + 1.28 + cd $src 1.29 + unset CFLAGS 1.30 + unset CXXFLAGS 1.31 export NSS_USE_SYSTEM_SQLITE=1 1.32 export BUILD_OPT=1 1.33 + export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 1.34 + export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 1.35 + export NSPR_INCLUDE_DIR=`pkg-config --cflags-only-I nspr | sed 's/-I//'` 1.36 + export NSPR_LIB_DIR=`pkg-config --libs-only-L nspr | sed 's/-L.//'` 1.37 1.38 - make -j1 -C mozilla/security/nss build_coreconf build_dbm all 1.39 + make -j 1 -C mozilla/security/coreconf 1.40 + make -j 1 -C mozilla/security/dbm 1.41 + make -j 1 -C mozilla/security/nss 1.42 1.43 mkdir -p $PWD/_pkg/usr/bin 1.44 mkdir -p $PWD/_pkg/usr/lib/pkgconfig