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

Up exiftool (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 17 11:47:28 2020 +0000 (2020-06-17)
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 }