Contents of /trunk/extras/spidermonkey/spidermonkey-1.8.5-r2.smage2
Parent Directory | Revision Log
Revision 13034 -
(show annotations)
(download)
Fri Aug 17 11:41:02 2012 UTC (12 years, 1 month ago) by niro
File size: 807 byte(s)
Fri Aug 17 11:41:02 2012 UTC (12 years, 1 month ago) by niro
File size: 807 byte(s)
-rebuild multilib
1 | # $Id$ |
2 | |
3 | PNAME="spidermonkey" |
4 | PVER="1.8.5" |
5 | PBUILD="r2" |
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.9" |
13 | SDEPEND=">= dev-lang/python-2.7 |
14 | >= app-arch/zip-3" |
15 | |
16 | SUBPVER="1.0.0" |
17 | SRCFILE="js${PVER//.}-${SUBPVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/js-${PVER}/js/src" |
19 | |
20 | sminclude multilib |
21 | msetfeature "!check" |
22 | |
23 | SRC_URI=( |
24 | ftp://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch |
27 | ) |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | mconfigure --with-system-nspr --enable-threadsafe || die |
38 | mmake || die |
39 | } |