Annotation of /trunk/extras/spidermonkey/spidermonkey-1.8.5-r3.smage2
Parent Directory | Revision Log
Revision 27353 -
(hide annotations)
(download)
Wed Dec 16 08:46:21 2015 UTC (8 years, 6 months ago) by niro
File size: 855 byte(s)
Wed Dec 16 08:46:21 2015 UTC (8 years, 6 months ago) by niro
File size: 855 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 | niro | 27353 | http://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE} |
27 | niro | 27352 | 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 | } |