blob: 564e48bb20722a34e01ec274f8cd5f9456f27ad2 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/spidermonkey/spidermonkey-1.5-r1.ebuild,v 1.6 2006/03/22 21:18:59 hansmi Exp $
inherit eutils toolchain-funcs multilib
MY_P="js-${PV}"
DESCRIPTION="Stand-alone JavaScript C library"
HOMEPAGE="http://www.mozilla.org/js/spidermonkey/"
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/js/${MY_P}.tar.gz"
LICENSE="NPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~hppa ppc ppc64 x86"
IUSE=""
S=${WORKDIR}/js/src
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.5-build.patch
}
src_compile() {
tc-export CC LD AR
emake -j1 -f Makefile.ref LIBDIR="$(get_libdir)" || die
}
src_install() {
make -f Makefile.ref install DESTDIR="${D}" LIBDIR="$(get_libdir)" || die
dodoc ../jsd/README
dohtml README.html
}
|