diff options
author | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-01-06 10:13:58 +0000 |
---|---|---|
committer | Paweł Hajdan <phajdan.jr@gentoo.org> | 2011-01-06 10:13:58 +0000 |
commit | 400d0914a5d5798f64111a849a49538f6c1963b7 (patch) | |
tree | 8f9718b5be526cd678953cffa960374de4f6a018 /net-libs/nodejs | |
parent | Use the proper virtual dep instead (diff) | |
download | gentoo-2-400d0914a5d5798f64111a849a49538f6c1963b7.tar.gz gentoo-2-400d0914a5d5798f64111a849a49538f6c1963b7.tar.bz2 gentoo-2-400d0914a5d5798f64111a849a49538f6c1963b7.zip |
Really build with system V8, bug #348609 reported by redneb <redneb@gmx.com>.
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'net-libs/nodejs')
-rw-r--r-- | net-libs/nodejs/ChangeLog | 11 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-0.3.1-r1.ebuild | 39 |
2 files changed, 48 insertions, 2 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog index 4ec3d136c530..21d47552a760 100644 --- a/net-libs/nodejs/ChangeLog +++ b/net-libs/nodejs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-libs/nodejs -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.1 2010/12/12 20:50:27 patrick Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.2 2011/01/06 10:13:58 phajdan.jr Exp $ + +*nodejs-0.3.1-r1 (06 Jan 2011) + + 06 Jan 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + +nodejs-0.3.1-r1.ebuild: + Really build with system V8, bug #348609 reported by redneb + <redneb@gmx.com>. *nodejs-0.3.1 (12 Dec 2010) *nodejs-0.2.5 (12 Dec 2010) diff --git a/net-libs/nodejs/nodejs-0.3.1-r1.ebuild b/net-libs/nodejs/nodejs-0.3.1-r1.ebuild new file mode 100644 index 000000000000..618c24157a9c --- /dev/null +++ b/net-libs/nodejs/nodejs-0.3.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.3.1-r1.ebuild,v 1.1 2011/01/06 10:13:58 phajdan.jr Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Evented IO for V8 Javascript" +HOMEPAGE="http://nodejs.org/" +SRC_URI="http://nodejs.org/dist/node-v${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND=">=dev-lang/v8-2.5.9.6-r1 + dev-libs/openssl" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/node-v${PV} + +src_configure() { + # this is a waf confuserator + ./configure --shared-v8 --prefix=/usr || die +} + +src_compile() { + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die +} + +src_test() { + emake test || die +} |