wok-next view nspr/receipt @ rev 18134
poptop: add plugin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 17:27:08 2015 +0200 (2015-06-13) |
parents | 3765f181a6d5 |
children | f5bfda4cdfe9 |
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 }