Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8404 - (show annotations) (download)
Mon Jan 25 08:54:44 2016 UTC (8 years, 3 months ago) by niro
File size: 882 byte(s)
-nspr-4.11 rebuild
1 # $Id$
2
3 PNAME="spidermonkey"
4 PVER="1.8.5"
5 PBUILD="r7"
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.11
13 >= dev-libs/nspr-dev-4.11
14 >= sys-libs/libstdc++-5.3"
15 SDEPEND=">= dev-lang/python-2.7
16 >= app-arch/zip-3"
17
18 SUBPVER="1.0.0"
19 SRCFILE="js${PVER//.}-${SUBPVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/js-${PVER}/js/src"
21
22 EMUL_LINUX_32=true
23 sminclude multilib
24 msetfeature "!check"
25
26 SRC_URI=(
27 http://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch
30 )
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35 mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die
36 }
37
38 src_compile()
39 {
40 mconfigure --with-system-nspr --enable-threadsafe || die
41 mmake || die
42 }