Contents of /smage/branches/alx07x-unstable/core/spidermonkey/spidermonkey-1.8.5-r8.smage2
Parent Directory | Revision Log
Revision 10743 -
(show annotations)
(download)
Thu Aug 31 08:11:02 2017 UTC (7 years ago) by niro
File size: 1055 byte(s)
Thu Aug 31 08:11:02 2017 UTC (7 years ago) by niro
File size: 1055 byte(s)
-release branches/alx07x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="spidermonkey" |
4 | PVER="1.8.5" |
5 | PBUILD="r8" |
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 | mirror://${PNAME}/${PNAME}-${PVER}-gcc6.patch |
31 | ) |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | mpatch ${PNAME}-${PVER}-fix-install-symlinks.patch || die |
37 | mpatch ${PNAME}-${PVER}-gcc6.patch || die |
38 | } |
39 | |
40 | src_compile() |
41 | { |
42 | # fortify_source not supported |
43 | export CPPFLAGS=${CPPFLAGS/-D_FORTIFY_SOURCE=2/} |
44 | |
45 | mconfigure --with-system-nspr --enable-threadsafe || die |
46 | mmake || die |
47 | } |