Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13035 - (hide annotations) (download)
Fri Aug 17 11:46:39 2012 UTC (11 years, 9 months ago) by niro
Original Path: trunk/extras/spidermonkey/spidermonkey-1.8.5-r2.smage2
File size: 826 byte(s)
-emul linux32 on multilib
1 niro 13034 # $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 niro 13035 EMUL_LINUX_32=true
21 niro 13034 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     }