wok-6.x view nspr/receipt @ rev 20085

also update libssl: from: 1.0.2k [26 Jan 2017] to 1.0.2l [25 May 2017], see: http://hg.slitaz.org/wok/rev/90fcaa823068
author Erkan Yilmaz <erkan@slitaz.org>
date Wed Sep 27 22:18:42 2017 +0000 (2017-09-27)
parents 3765f181a6d5
children 736937940e3c
line source
1 # SliTaz package receipt.
3 PACKAGE="nspr"
4 VERSION="4.10.8"
5 CATEGORY="utilities"
6 SHORT_DESC="Netscape Portable Runtime"
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="MPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
11 WGET_URL="http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${VERSION}/src/${TARBALL}"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/nspr
20 ./configure \
21 --prefix=/usr \
22 --libdir=/usr/lib \
23 --includedir=/usr/include/nspr \
24 --enable-optimize \
25 --disable-debug \
26 --with-mozilla \
27 --with-pthreads \
28 $([ $(uname -m) = x86_64 ] && echo --enable-64bit) \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*so* $fs/usr/lib
38 }