Contents of /smage/trunk/core/spidermonkey/spidermonkey-1.8.5-r5.smage2
Parent Directory | Revision Log
Revision 6680 -
(show annotations)
(download)
Wed Jul 15 14:07:56 2015 UTC (9 years, 2 months ago) by niro
File size: 854 byte(s)
Wed Jul 15 14:07:56 2015 UTC (9 years, 2 months ago) by niro
File size: 854 byte(s)
auto added: ver bump to 1.8.5-r5
1 | # $Id$ |
2 | |
3 | PNAME="spidermonkey" |
4 | PVER="1.8.5" |
5 | PBUILD="r5" |
6 | |
7 | PCAT="dev-java" |
8 | |
9 | DESCRIPTION="SpiderMonkey is the code-name for the Mozilla's C implementation of JavaScript." |
10 | HOMEPAGE="https://developer.mozilla.org/en-US/docs/SpiderMonkey" |
11 | |
12 | DEPEND=">= dev-libs/nspr-4.10 |
13 | >= dev-libs/nspr-dev-4.10" |
14 | SDEPEND=">= dev-lang/python-2.7 |
15 | >= app-arch/zip-3" |
16 | |
17 | SUBPVER="1.0.0" |
18 | SRCFILE="js${PVER//.}-${SUBPVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/js-${PVER}/js/src" |
20 | |
21 | EMUL_LINUX_32=true |
22 | sminclude multilib |
23 | msetfeature "!check" |
24 | |
25 | SRC_URI=( |
26 | ftp://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE} |
27 | mirror://${PNAME}/${SRCFILE} |
28 | mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch |
29 | ) |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | mconfigure --with-system-nspr --enable-threadsafe || die |
40 | mmake || die |
41 | } |