wok view nspr/receipt @ rev 17788

Up: nspr 4.10.8
author Alexander Medvedev <devl547@gmail.com>
date Sat Mar 14 21:47:18 2015 +0000 (2015-03-14)
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 }