Magellan Linux

Contents of /trunk/extras/spidermonkey/spidermonkey-1.8.5-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30860 - (show annotations) (download)
Fri Apr 27 08:34:59 2018 UTC (6 years ago) by niro
File size: 862 byte(s)
auto added: ver bump to 1.8.5-r4
1 # $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 mbuild
23 msetfeature "!check"
24
25 SRC_URI=(
26 http://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE}
27 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 }