1 |
commit: bde9b6d5824f6e86c6e119e67699bf733d94ffb4 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 2 17:18:53 2013 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 2 17:18:53 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mozilla.git;a=commit;h=bde9b6d5 |
7 |
|
8 |
spidermonkey-17 moved to tree, drop from overlay |
9 |
|
10 |
--- |
11 |
dev-lang/spidermonkey/Manifest | 1 - |
12 |
dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild | 118 ----------------------- |
13 |
2 files changed, 119 deletions(-) |
14 |
|
15 |
diff --git a/dev-lang/spidermonkey/Manifest b/dev-lang/spidermonkey/Manifest |
16 |
deleted file mode 100644 |
17 |
index 7360105..0000000 |
18 |
--- a/dev-lang/spidermonkey/Manifest |
19 |
+++ /dev/null |
20 |
@@ -1 +0,0 @@ |
21 |
-DIST mozjs17.0.0.tar.gz 6778934 SHA256 321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba SHA512 39b68aeb9f712f146778d8b68ee795709a1372c8ab893a222af4eb34882427d6f5cf877e743d6cb2f1b4348c194d8f3774f00cb775b03515b34b49560b748be4 WHIRLPOOL 4df7b51577787194065162b09d2c3dda849c13fa901305f9925d4ca5d38bb7f8e2daa943099e003fb9d11f9264ae2d77ccf04e5eea11e3ddcb624b504b99d52f |
22 |
|
23 |
diff --git a/dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild b/dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild |
24 |
deleted file mode 100644 |
25 |
index 571c44f..0000000 |
26 |
--- a/dev-lang/spidermonkey/spidermonkey-17.0.0.ebuild |
27 |
+++ /dev/null |
28 |
@@ -1,118 +0,0 @@ |
29 |
-# Copyright 1999-2013 Gentoo Foundation |
30 |
-# Distributed under the terms of the GNU General Public License v2 |
31 |
-# $Header: $ |
32 |
- |
33 |
-EAPI="5" |
34 |
-WANT_AUTOCONF="2.1" |
35 |
-inherit autotools eutils toolchain-funcs multilib python versionator pax-utils |
36 |
- |
37 |
-MY_PN="mozjs" |
38 |
-MY_P="${MY_PN}${PV}" |
39 |
-DESCRIPTION="Stand-alone JavaScript C library" |
40 |
-HOMEPAGE="http://www.mozilla.org/js/spidermonkey/" |
41 |
-SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/js/${MY_PN}${PV}.tar.gz" |
42 |
- |
43 |
-LICENSE="NPL-1.1" |
44 |
-SLOT="0/mozjs17.0.0" |
45 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa -ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
46 |
-IUSE="debug jit minimal static-libs test" |
47 |
- |
48 |
-S="${WORKDIR}/${MY_P}" |
49 |
-BUILDDIR="${S}/js/src" |
50 |
- |
51 |
-RDEPEND=">=dev-libs/nspr-4.9.4 |
52 |
- virtual/libffi" |
53 |
-DEPEND="${RDEPEND} |
54 |
- app-arch/zip |
55 |
- =dev-lang/python-2*[threads] |
56 |
- virtual/pkgconfig" |
57 |
- |
58 |
-pkg_setup(){ |
59 |
- if [[ ${MERGE_TYPE} != "binary" ]]; then |
60 |
- python_set_active_version 2 |
61 |
- python_pkg_setup |
62 |
- export LC_ALL="C" |
63 |
- fi |
64 |
-} |
65 |
- |
66 |
-src_prepare() { |
67 |
- epatch_user |
68 |
- |
69 |
- if [[ ${CHOST} == *-freebsd* ]]; then |
70 |
- # Don't try to be smart, this does not work in cross-compile anyway |
71 |
- ln -sfn "${BUILDDIR}/config/Linux_All.mk" "${S}/config/$(uname -s)$(uname -r).mk" || die |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
-src_configure() { |
76 |
- cd "${BUILDDIR}" || die |
77 |
- |
78 |
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" \ |
79 |
- AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \ |
80 |
- LD="$(tc-getLD)" PYTHON="$(PYTHON)" \ |
81 |
- econf \ |
82 |
- ${myopts} \ |
83 |
- --enable-jemalloc \ |
84 |
- --enable-readline \ |
85 |
- --enable-threadsafe \ |
86 |
- --with-system-nspr \ |
87 |
- --enable-system-ffi \ |
88 |
- --enable-jemalloc \ |
89 |
- $(use_enable debug) \ |
90 |
- $(use_enable jit tracejit) \ |
91 |
- $(use_enable jit methodjit) \ |
92 |
- $(use_enable static-libs static) \ |
93 |
- $(use_enable test tests) |
94 |
-} |
95 |
- |
96 |
-src_compile() { |
97 |
- cd "${BUILDDIR}" || die |
98 |
- if tc-is-cross-compiler; then |
99 |
- make CFLAGS="" CXXFLAGS="" \ |
100 |
- CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \ |
101 |
- AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \ |
102 |
- jscpucfg host_jsoplengen host_jskwgen || die |
103 |
- make CFLAGS="" CXXFLAGS="" \ |
104 |
- CC=$(tc-getBUILD_CC) CXX=$(tc-getBUILD_CXX) \ |
105 |
- AR=$(tc-getBUILD_AR) RANLIB=$(tc-getBUILD_RANLIB) \ |
106 |
- -C config nsinstall || die |
107 |
- mv {,native-}jscpucfg || die |
108 |
- mv {,native-}host_jskwgen || die |
109 |
- mv {,native-}host_jsoplengen || die |
110 |
- mv config/{,native-}nsinstall || die |
111 |
- sed -e 's@./jscpucfg@./native-jscpucfg@' \ |
112 |
- -e 's@./host_jskwgen@./native-host_jskwgen@' \ |
113 |
- -e 's@./host_jsoplengen@./native-host_jsoplengen@' \ |
114 |
- -i Makefile || die |
115 |
- sed -e 's@/nsinstall@/native-nsinstall@' -i config/config.mk || die |
116 |
- rm -f config/host_nsinstall.o \ |
117 |
- config/host_pathsub.o \ |
118 |
- host_jskwgen.o \ |
119 |
- host_jsoplengen.o || die |
120 |
- fi |
121 |
- emake |
122 |
-} |
123 |
- |
124 |
-src_test() { |
125 |
- cd "${BUILDDIR}/jsapi-tests" || die |
126 |
- emake check |
127 |
-} |
128 |
- |
129 |
-src_install() { |
130 |
- cd "${BUILDDIR}" || die |
131 |
- emake DESTDIR="${D}" install |
132 |
- |
133 |
- if ! use minimal; then |
134 |
- if use jit; then |
135 |
- pax-mark m "${ED}/usr/bin/js1*" |
136 |
- fi |
137 |
- else |
138 |
- rm -f "${ED}/usr/bin/js1*" |
139 |
- fi |
140 |
- |
141 |
- if ! use static-libs; then |
142 |
- # We can't actually disable building of static libraries |
143 |
- # They're used by the tests and in a few other places |
144 |
- find "${D}" -iname '*.a' -delete || die |
145 |
- fi |
146 |
-} |