wok view nspr/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 547cf085b858
children e5abc956d567
line source
1 # SliTaz package receipt.
3 PACKAGE="nspr"
4 VERSION="4.21"
5 CATEGORY="utilities"
6 SHORT_DESC="Netscape Portable Runtime."
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="MPL2"
9 WEB_SITE="https://developer.mozilla.org/docs/Mozilla/Projects/NSPR"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/nspr
21 ./configure \
22 --prefix=/usr \
23 --libdir=/usr/lib \
24 --includedir=/usr/include/nspr \
25 --enable-optimize \
26 --disable-debug \
27 --with-mozilla \
28 --with-pthreads \
29 $([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 }