wok-current view nspr/receipt @ rev 23690
updated tcl and tcl-dev (8.6.9 -> 8.6.10)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 06:34:42 2020 +0100 (2020-04-27) |
parents | 736937940e3c |
children | 3e9a9990c985 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nspr"
4 VERSION="4.25"
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 }