Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 266502
Collapse All | Expand All

(-)a/dev-lang/v8/v8-2.5.9.1.ebuild (-7 / +10 lines)
Lines 1-22 Link Here
1
# Copyright 1999-2010 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-2.5.9.1.ebuild,v 1.1 2010/12/02 10:09:16 phajdan.jr Exp $
3
# $Header: $
4
4
5
EAPI="2"
5
EAPI="2"
6
6
7
inherit eutils flag-o-matic multilib scons-utils toolchain-funcs
7
inherit eutils flag-o-matic multilib scons-utils subversion toolchain-funcs
8
8
9
DESCRIPTION="Google's open source JavaScript engine"
9
DESCRIPTION="Google's open source JavaScript engine"
10
HOMEPAGE="http://code.google.com/p/v8"
10
HOMEPAGE="http://code.google.com/p/v8"
11
SRC_URI="mirror://gentoo/${P}.tar.gz"
11
ESVN_REPO_URI="http://v8.googlecode.com/svn/trunk"
12
LICENSE="BSD"
12
LICENSE="BSD"
13
13
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~amd64 ~arm ~x86"
15
KEYWORDS=""
16
IUSE="readline"
16
IUSE="readline"
17
17
18
RDEPEND="readline? ( >=sys-libs/readline-6.1 )"
18
RDEPEND="readline? ( >=sys-libs/readline-6.1 )"
19
DEPEND="${RDEPEND}"
19
DEPEND="${RDEPEND}
20
	dev-util/chromium-tools"
20
21
21
EXTRA_ESCONS="library=shared soname=on importenv=\"LINKFLAGS\""
22
EXTRA_ESCONS="library=shared soname=on importenv=\"LINKFLAGS\""
22
23
Lines 70-77 Link Here
70
71
71
	dobin d8 || die
72
	dobin d8 || die
72
73
73
	dolib libv8-${PV}.so || die
74
	# Get the library version
74
	dosym libv8-${PV}.so /usr/$(get_libdir)/libv8.so || die
75
	local MY_PV=$(v8-extract-version src/version.cc)
76
	dolib libv8-${MY_PV}.so || die
77
	dosym libv8-${MY_PV}.so /usr/$(get_libdir)/libv8.so || die
75
78
76
	dodoc AUTHORS ChangeLog || die
79
	dodoc AUTHORS ChangeLog || die
77
}
80
}

Return to bug 266502