wok-current diff nspr/receipt @ rev 22693

Up libcurl (7.68.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 20 17:42:00 2020 +0100 (2020-01-20)
parents 547cf085b858
children e5abc956d567
line diff
     1.1 --- a/nspr/receipt	Sat Mar 14 21:47:18 2015 +0000
     1.2 +++ b/nspr/receipt	Mon Jan 20 17:42:00 2020 +0100
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nspr"
     1.7 -VERSION="4.10.8"
     1.8 +VERSION="4.21"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Netscape Portable Runtime"
    1.11 +SHORT_DESC="Netscape Portable Runtime."
    1.12  MAINTAINER="rocky@slitaz.org"
    1.13  LICENSE="MPL2"
    1.14 +WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
    1.18 -WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
    1.19 +WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
    1.20  
    1.21  DEPENDS="glibc-base"
    1.22  BUILD_DEPENDS="perl"
    1.23 @@ -17,17 +18,18 @@
    1.24  compile_rules()
    1.25  {
    1.26  	cd $src/nspr
    1.27 -	./configure \
    1.28 -		--prefix=/usr \
    1.29 -		--libdir=/usr/lib \
    1.30 -		--includedir=/usr/include/nspr \
    1.31 -		--enable-optimize \
    1.32 -		--disable-debug \
    1.33 -		--with-mozilla \
    1.34 -		--with-pthreads \
    1.35 +	./configure				\
    1.36 +		--prefix=/usr			\
    1.37 +		--libdir=/usr/lib		\
    1.38 +		--includedir=/usr/include/nspr	\
    1.39 +		--enable-optimize		\
    1.40 +		--disable-debug			\
    1.41 +		--with-mozilla			\
    1.42 +		--with-pthreads			\
    1.43  		$([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
    1.44  		$CONFIGURE_ARGS &&
    1.45 -	make && make DESTDIR=$DESTDIR install
    1.46 +	make &&
    1.47 +	make DESTDIR=$DESTDIR install
    1.48  }
    1.49  
    1.50  # Rules to gen a SliTaz package suitable for Tazpkg.