wok rev 21586

updated nspr and nspr-dev (4.10.8 -> 4.21)
author Hans-G?nter Theisgen
date Mon May 20 13:58:55 2019 +0100 (2019-05-20)
parents 70356dd15554
children 92dae8bba27b
files nspr-dev/receipt nspr/receipt
line diff
     1.1 --- a/nspr-dev/receipt	Mon May 20 13:44:05 2019 +0100
     1.2 +++ b/nspr-dev/receipt	Mon May 20 13:58:55 2019 +0100
     1.3 @@ -1,22 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nspr-dev"
     1.7 -VERSION="4.10.8"
     1.8 +VERSION="4.21"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="nspr devel library."
    1.11 +SHORT_DESC="Nspr development files."
    1.12  MAINTAINER="slaxemulator@gmail.com"
    1.13  LICENSE="MPL2"
    1.14 -WANTED="nspr"
    1.15 -WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
    1.16 +WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR"
    1.17  
    1.18  DEPENDS="nspr pkg-config"
    1.19 +WANTED="nspr"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -    mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share
    1.25 -    cp -a $install/usr/include $fs/usr
    1.26 -    cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -    cp -a $install/usr/share/aclocal $fs/usr/share
    1.28 -	cp -a $install/usr/bin/nspr-config $fs/usr/bin/nspr-config
    1.29 +	mkdir -p $fs/usr/bin
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	mkdir -p $fs/usr/share
    1.32 +
    1.33 +	cp -a $install/usr/include		$fs/usr
    1.34 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.35 +	cp -a $install/usr/share/aclocal	$fs/usr/share
    1.36 +	cp -a $install/usr/bin/nspr-config	$fs/usr/bin/nspr-config
    1.37  }
     2.1 --- a/nspr/receipt	Mon May 20 13:44:05 2019 +0100
     2.2 +++ b/nspr/receipt	Mon May 20 13:58:55 2019 +0100
     2.3 @@ -1,14 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="nspr"
     2.7 -VERSION="4.10.8"
     2.8 +VERSION="4.21"
     2.9  CATEGORY="utilities"
    2.10 -SHORT_DESC="Netscape Portable Runtime"
    2.11 +SHORT_DESC="Netscape Portable Runtime."
    2.12  MAINTAINER="rocky@slitaz.org"
    2.13  LICENSE="MPL2"
    2.14 +WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
    2.18 -WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
    2.19 +WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
    2.20  
    2.21  DEPENDS="glibc-base"
    2.22  BUILD_DEPENDS="perl"
    2.23 @@ -17,17 +18,18 @@
    2.24  compile_rules()
    2.25  {
    2.26  	cd $src/nspr
    2.27 -	./configure \
    2.28 -		--prefix=/usr \
    2.29 -		--libdir=/usr/lib \
    2.30 -		--includedir=/usr/include/nspr \
    2.31 -		--enable-optimize \
    2.32 -		--disable-debug \
    2.33 -		--with-mozilla \
    2.34 -		--with-pthreads \
    2.35 +	./configure				\
    2.36 +		--prefix=/usr			\
    2.37 +		--libdir=/usr/lib		\
    2.38 +		--includedir=/usr/include/nspr	\
    2.39 +		--enable-optimize		\
    2.40 +		--disable-debug			\
    2.41 +		--with-mozilla			\
    2.42 +		--with-pthreads			\
    2.43  		$([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
    2.44  		$CONFIGURE_ARGS &&
    2.45 -	make && make DESTDIR=$DESTDIR install
    2.46 +	make &&
    2.47 +	make DESTDIR=$DESTDIR install
    2.48  }
    2.49  
    2.50  # Rules to gen a SliTaz package suitable for Tazpkg.