wok-stable rev 6882
Up: nss to 3.12.8. Added nspr. This way nss doesn't depend on libfirefox anymore.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 00:33:24 2010 +0000 (2010-10-21) |
parents | 057151c17d05 |
children | 05bdabc85a94 |
files | nspr-dev/receipt nspr/receipt nspr/stuff/nspr.pc.in nss-dev/receipt nss/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nspr-dev/receipt Thu Oct 21 00:33:24 2010 +0000 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="nspr-dev" 1.7 +VERSION="4.8.6" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="nspr devel library." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="nspr" 1.12 +WANTED="nspr" 1.13 +WEB_SITE="http://www.mozilla.org/projects/security/nspr/" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/bin $fs/usr/lib 1.19 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.20 + cp -a $_pkg/usr/include $fs/usr 1.21 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/nspr/receipt Thu Oct 21 00:33:24 2010 +0000 2.3 @@ -0,0 +1,49 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="nspr" 2.7 +VERSION="4.8.6" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="Netscape Portable Runtime" 2.10 +MAINTAINER="rocky@slitaz.org" 2.11 +DEPENDS="glibc-base" 2.12 +BUILD_DEPENDS="perl" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.mozilla.org/projects/nspr/" 2.15 +WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 +./mozilla/nsprpub/configure \ 2.22 + --prefix=/usr \ 2.23 + --libdir=/usr/lib \ 2.24 + --includedir=/usr/include/nspr \ 2.25 + --enable-optimize \ 2.26 + --disable-debug 2.27 + make 2.28 + make DESTDIR="$PWD/_pkg" install 2.29 + 2.30 + mkdir -p $PWD/_pkg/usr/lib/pkgconfig 2.31 + NSPR_LIBS=`./config/nspr-config --libs` 2.32 + NSPR_CFLAGS=`./config/nspr-config --cflags` 2.33 + NSPR_VERSION=`./config/nspr-config --version` 2.34 + install -m755 -d "${pkgdir}/usr/lib/pkgconfig" 2.35 + sed "../stuff/nspr.pc.in" -e "s,%libdir%,/usr/lib," \ 2.36 + -e "s,%prefix%,/usr," \ 2.37 + -e "s,%exec_prefix%,/usr/bin," \ 2.38 + -e "s,%includedir%,/usr/include/nspr," \ 2.39 + -e "s,%NSPR_VERSION%,${NSPR_VERSION}," \ 2.40 + -e "s,%FULL_NSPR_LIBS%,${NSPR_LIBS}," \ 2.41 + -e "s,%FULL_NSPR_CFLAGS%,${NSPR_CFLAGS}," > "$PWD/_pkg/usr/lib/pkgconfig/nspr.pc" 2.42 + ln -sf nspr.pc "$PWD/_pkg/usr/lib/pkgconfig/mozilla-nspr.pc" 2.43 +} 2.44 + 2.45 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.46 +genpkg_rules() 2.47 +{ 2.48 + mkdir -p $fs/usr/lib 2.49 + cp -a $_pkg/usr/bin $fs/usr 2.50 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib 2.51 + rm $fs/usr/bin/nspr-config 2.52 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/nspr/stuff/nspr.pc.in Thu Oct 21 00:33:24 2010 +0000 3.3 @@ -0,0 +1,10 @@ 3.4 +prefix=%prefix% 3.5 +exec_prefix=%exec_prefix% 3.6 +libdir=%libdir% 3.7 +includedir=%includedir% 3.8 + 3.9 +Name: NSPR 3.10 +Description: The Netscape Portable Runtime 3.11 +Version: %NSPR_VERSION% 3.12 +Libs: %FULL_NSPR_LIBS% 3.13 +Cflags: %FULL_NSPR_CFLAGS%
4.1 --- a/nss-dev/receipt Wed Oct 20 23:49:58 2010 +0000 4.2 +++ b/nss-dev/receipt Thu Oct 21 00:33:24 2010 +0000 4.3 @@ -1,10 +1,11 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="nss-dev" 4.7 -VERSION="3.12.7" 4.8 +VERSION="3.12.8" 4.9 CATEGORY="development" 4.10 SHORT_DESC="nss devel library." 4.11 MAINTAINER="rocky@slitaz.org" 4.12 +DEPENDS="nss" 4.13 WANTED="nss" 4.14 WEB_SITE="http://www.mozilla.org/projects/security/pki/nss/" 4.15
5.1 --- a/nss/receipt Wed Oct 20 23:49:58 2010 +0000 5.2 +++ b/nss/receipt Thu Oct 21 00:33:24 2010 +0000 5.3 @@ -1,12 +1,12 @@ 5.4 # SliTaz package receipt. 5.5 5.6 PACKAGE="nss" 5.7 -VERSION="3.12.7" 5.8 +VERSION="3.12.8" 5.9 CATEGORY="utilities" 5.10 SHORT_DESC="Mozilla Network Security Services (NSS)." 5.11 MAINTAINER="rocky@slitaz.org" 5.12 -DEPENDS="libfirefox sqlite zlib" 5.13 -BUILD_DEPENDS="firefox-dev sqlite-dev zlib-dev perl" 5.14 +DEPENDS="nspr sqlite zlib" 5.15 +BUILD_DEPENDS="nspr-dev sqlite-dev zlib-dev perl pkg-config" 5.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 5.17 WEB_SITE="http://www.mozilla.org/projects/security/pki/nss/" 5.18 WGET_URL="ftp://ftp.mozilla.org/pub/security/nss/releases/NSS_${VERSION//./_}_RTM/src/${TARBALL}" 5.19 @@ -24,12 +24,22 @@ 5.20 # Removes rpath 5.21 patch -Np0 -i ../stuff/nss-no-rpath.patch 5.22 5.23 - export NSPR_INCLUDE_DIR=$(ls -d /usr/include/firefox-*) 5.24 - export NSPR_LIB_DIR=$(ls -d /usr/lib/firefox-*/lib) 5.25 + cd $src/mozilla/security/nss/lib/ckfw/builtins 5.26 + make generate 5.27 + 5.28 + cd $src 5.29 + unset CFLAGS 5.30 + unset CXXFLAGS 5.31 export NSS_USE_SYSTEM_SQLITE=1 5.32 export BUILD_OPT=1 5.33 + export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 5.34 + export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 5.35 + export NSPR_INCLUDE_DIR=`pkg-config --cflags-only-I nspr | sed 's/-I//'` 5.36 + export NSPR_LIB_DIR=`pkg-config --libs-only-L nspr | sed 's/-L.//'` 5.37 5.38 - make -j1 -C mozilla/security/nss build_coreconf build_dbm all 5.39 + make -j 1 -C mozilla/security/coreconf 5.40 + make -j 1 -C mozilla/security/dbm 5.41 + make -j 1 -C mozilla/security/nss 5.42 5.43 mkdir -p $PWD/_pkg/usr/bin 5.44 mkdir -p $PWD/_pkg/usr/lib/pkgconfig