blob: 707ed4d07b6c52bca91293f32940bb949baa0687 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit mozilla-scm
DESCRIPTION="Stand-alone JavaScript C library"
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="NPL-1.1"
S+="/js/src"
src_prepare() {
eautoreconf
}
src_configure() {
# Disable no-print-directory
MAKEOPTS=${MAKEOPTS/--no-print-directory/}
mozilla-scm_src_configure \
--with-system-nspr \
--enable-threadsafe
}
src_install() {
mozilla-scm_src_install
dodoc ../jsd/README
dohtml README.html
}
|