wok-next view nspr/receipt @ rev 19679

Move cmark -> cmark-gfm because it's fork of cmark; update xorg-libX11-dev deps, update gdk-pixbuf, gtk+ (currently slightly broken because of cups incompletion).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 05 15:27:57 2017 +0300 (2017-04-05)
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 }