Magellan Linux

Contents of /smage/trunk/core/spidermonkey/spidermonkey-1.8.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4532 - (show annotations) (download)
Fri Mar 15 12:50:20 2013 UTC (11 years, 3 months ago) by niro
File size: 807 byte(s)
auto added: ver bump to 1.8.5-r1
1 # $Id$
2
3 PNAME="spidermonkey"
4 PVER="1.8.5"
5 PBUILD="r1"
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
15 SUBPVER="1.0.0"
16 SRCFILE="js${PVER//.}-${SUBPVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/js-${PVER}/js/src"
18
19 EMUL_LINUX_32=true
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 }