Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13027 - (show annotations) (download)
Fri Aug 17 11:00:52 2012 UTC (11 years, 9 months ago) by niro
File size: 797 byte(s)
-fixed patchwork
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 >= app-arch/zip-3"
15
16 SUBPVER="1.0.0"
17 SRCFILE="js${PVER//.}-${SUBPVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/js"
19
20 sminclude mbuild
21
22 SRC_URI=(
23 ftp://ftp.mozilla.org/pub/mozilla.org/js/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 mirror://${PNAME}/${PNAME}-${PVER}-fix-install-symlinks.patch
26 )
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32 mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die
33 }
34
35 src_compile()
36 {
37 cd ${SRCDIR}
38 mconfigure --with-system-nspr --enable-threadsafe || die
39 mmake || die
40 }