Annotation of /trunk/extras/spidermonkey/spidermonkey-1.8.5-r3.smage2
Parent Directory | Revision Log
Revision 27352 -
(hide annotations)
(download)
Tue Dec 15 17:01:59 2015 UTC (8 years, 9 months ago) by niro
File size: 854 byte(s)
Tue Dec 15 17:01:59 2015 UTC (8 years, 9 months ago) by niro
File size: 854 byte(s)
-c++11 abi toolchain rebuild
1 | niro | 27352 | # $Id$ |
2 | |||
3 | PNAME="spidermonkey" | ||
4 | PVER="1.8.5" | ||
5 | PBUILD="r3" | ||
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 | >= sys-libs/libstdc++-5.3" | ||
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 | } |