wok-next view nspr/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 555cf3b9f1ff |
children | e7a485521d6a |
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 &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 nspr) copy @std;;
40 *-dev) copy @dev;;
41 esac
42 }