wok-next view nspr/receipt @ rev 20561
Up rrdtool (1.7.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 10 00:40:27 2018 +0300 (2018-04-10) |
parents | 0e7893ac206d |
children | b1a1deb20f42 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nspr"
4 VERSION="4.18"
5 CATEGORY="utilities"
6 SHORT_DESC="Netscape Portable Runtime"
7 MAINTAINER="rocky@slitaz.org"
8 LICENSE="MPL2"
9 WEB_SITE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSPR"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/nspr.html"
12 TARBALL="nspr-$VERSION.tar.gz"
13 WGET_URL="https://archive.mozilla.org/pub/nspr/releases/v$VERSION/src/$TARBALL"
15 BUILD_DEPENDS="perl"
16 SPLIT="nspr-dev"
18 compile_rules() {
19 cd nspr
20 sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in
21 sed -i 's#$(LIBRARY) ##' config/rules.mk
23 case $ARCH in
24 x86_64) ARCH_ARGS='--enable-64bit';;
25 *) ARCH_ARGS='';;
26 esac
28 ./configure \
29 --with-mozilla \
30 --with-pthreads \
31 $ARCH_ARGS \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 nspr) copy @std;;
39 *-dev) copy @dev;;
40 esac
41 }