wok-next diff nspr/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | 547cf085b858 |
children | 0e7893ac206d |
line diff
1.1 --- a/nspr/receipt Sat Mar 14 21:47:18 2015 +0000 1.2 +++ b/nspr/receipt Sun Oct 15 17:04:15 2017 +0200 1.3 @@ -1,38 +1,39 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="nspr" 1.8 -VERSION="4.10.8" 1.9 +VERSION="4.13.1" 1.10 CATEGORY="utilities" 1.11 SHORT_DESC="Netscape Portable Runtime" 1.12 MAINTAINER="rocky@slitaz.org" 1.13 LICENSE="MPL2" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR" 1.16 -WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}" 1.17 1.18 -DEPENDS="glibc-base" 1.19 +TARBALL="nspr-$VERSION.tar.gz" 1.20 +WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$VERSION/src/$TARBALL" 1.21 + 1.22 BUILD_DEPENDS="perl" 1.23 +SPLIT="nspr-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src/nspr 1.29 + cd nspr && 1.30 + sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in && 1.31 + sed -i 's#$(LIBRARY) ##' config/rules.mk && 1.32 + 1.33 ./configure \ 1.34 - --prefix=/usr \ 1.35 - --libdir=/usr/lib \ 1.36 - --includedir=/usr/include/nspr \ 1.37 - --enable-optimize \ 1.38 - --disable-debug \ 1.39 --with-mozilla \ 1.40 --with-pthreads \ 1.41 $([ $(uname -m) = x86_64 ] && echo --enable-64bit) \ 1.42 $CONFIGURE_ARGS && 1.43 - make && make DESTDIR=$DESTDIR install 1.44 + make && make install 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr/lib 1.51 - cp -a $install/usr/lib/*so* $fs/usr/lib 1.52 + case $PACKAGE in 1.53 + nspr) copy @std;; 1.54 + *-dev) copy @dev;; 1.55 + esac 1.56 }