Magellan Linux

Contents of /branches/R11-unstable/extras/spidermonkey/spidermonkey-1.8.5-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25800 - (show annotations) (download)
Tue Nov 25 04:19:20 2014 UTC (9 years, 5 months ago) by niro
File size: 826 byte(s)
-release branches/R11-unstable
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 EMUL_LINUX_32=true
21 sminclude multilib
22 msetfeature "!check"
23
24 SRC_URI=(
25 ftp://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch
28 )
29
30 src_prepare()
31 {
32 munpack ${SRCFILE} || die
33 mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die
34 }
35
36 src_compile()
37 {
38 mconfigure --with-system-nspr --enable-threadsafe || die
39 mmake || die
40 }