wok-6.x rev 17788

Up: nspr 4.10.8
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:47:18 2015 +0000 (2015-03-14)
parents bbf6553c03a2
children ebe8e8797193
files nspr-dev/receipt nspr/receipt
line diff
     1.1 --- a/nspr-dev/receipt	Sat Mar 14 21:46:19 2015 +0000
     1.2 +++ b/nspr-dev/receipt	Sat Mar 14 21:47:18 2015 +0000
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nspr-dev"
     1.7 -VERSION="4.9.4"
     1.8 +VERSION="4.10.8"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="nspr devel library."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="MPL2"
    1.13  WANTED="nspr"
    1.14 -WEB_SITE="http://www.mozilla.org/projects/security/nspr/"
    1.15 +WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
    1.16  
    1.17  DEPENDS="nspr pkg-config"
    1.18  
     2.1 --- a/nspr/receipt	Sat Mar 14 21:46:19 2015 +0000
     2.2 +++ b/nspr/receipt	Sat Mar 14 21:47:18 2015 +0000
     2.3 @@ -1,14 +1,14 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="nspr"
     2.7 -VERSION="4.9.4"
     2.8 +VERSION="4.10.8"
     2.9  CATEGORY="utilities"
    2.10  SHORT_DESC="Netscape Portable Runtime"
    2.11  MAINTAINER="rocky@slitaz.org"
    2.12  LICENSE="MPL2"
    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 +WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
    2.17 +WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
    2.18  
    2.19  DEPENDS="glibc-base"
    2.20  BUILD_DEPENDS="perl"
    2.21 @@ -16,12 +16,7 @@
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25 -	cd $src
    2.26 -	cd mozilla/nsprpub
    2.27 -	# disable two unneeded scripts.
    2.28 -	sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &&
    2.29 -	# disable static libraries.
    2.30 -	sed -i 's#$(LIBRARY) ##' config/rules.mk &&
    2.31 +	cd $src/nspr
    2.32  	./configure \
    2.33  		--prefix=/usr \
    2.34  		--libdir=/usr/lib \
    2.35 @@ -33,7 +28,6 @@
    2.36  		$([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
    2.37  		$CONFIGURE_ARGS &&
    2.38  	make && make DESTDIR=$DESTDIR install
    2.39 -	ln -sf nspr.pc "$DESTDIR/usr/lib/pkgconfig/mozilla-nspr.pc"
    2.40  }
    2.41  
    2.42  # Rules to gen a SliTaz package suitable for Tazpkg.