wok diff nspr/receipt @ rev 17854

Up: slitaz-boot-scripts (5.7.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 25 00:32:22 2015 +0200 (2015-03-25)
parents 3765f181a6d5
children 736937940e3c
line diff
     1.1 --- a/nspr/receipt	Sat Nov 30 17:02:58 2013 +0000
     1.2 +++ b/nspr/receipt	Wed Mar 25 00:32:22 2015 +0200
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nspr"
     1.7 -VERSION="4.9.4"
     1.8 +VERSION="4.10.8"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Netscape Portable Runtime"
    1.11  MAINTAINER="rocky@slitaz.org"
    1.12  LICENSE="MPL2"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://www.mozilla.org/projects/nspr/"
    1.15 -WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
    1.16 +WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
    1.17 +WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
    1.18  
    1.19  DEPENDS="glibc-base"
    1.20  BUILD_DEPENDS="perl"
    1.21 @@ -16,12 +16,7 @@
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	cd $src
    1.26 -	cd mozilla/nsprpub
    1.27 -	# disable two unneeded scripts.
    1.28 -	sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &&
    1.29 -	# disable static libraries.
    1.30 -	sed -i 's#$(LIBRARY) ##' config/rules.mk &&
    1.31 +	cd $src/nspr
    1.32  	./configure \
    1.33  		--prefix=/usr \
    1.34  		--libdir=/usr/lib \
    1.35 @@ -33,7 +28,6 @@
    1.36  		$([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
    1.37  		$CONFIGURE_ARGS &&
    1.38  	make && make DESTDIR=$DESTDIR install
    1.39 -	ln -sf nspr.pc "$DESTDIR/usr/lib/pkgconfig/mozilla-nspr.pc"
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.