wok view nspr/receipt @ rev 22689
updated emacs (24.3 -> 26.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 20 16:49:20 2020 +0100 (2020-01-20) |
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 }