summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-07-02 15:53:57 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-07-02 15:53:57 +0000
commit61bd412117d80688d7463ceb949fbb0bd4e88f1f (patch)
tree51ea322a4729e907525fb846717041542050eea4 /net-libs/nodejs/nodejs-0.4.9.ebuild
parentStable on amd64 wrt bug #373507 (diff)
downloadgentoo-2-61bd412117d80688d7463ceb949fbb0bd4e88f1f.tar.gz
gentoo-2-61bd412117d80688d7463ceb949fbb0bd4e88f1f.tar.bz2
gentoo-2-61bd412117d80688d7463ceb949fbb0bd4e88f1f.zip
Bump for #373509
(Portage version: 2.2.0_alpha42/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/nodejs/nodejs-0.4.9.ebuild')
-rw-r--r--net-libs/nodejs/nodejs-0.4.9.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/net-libs/nodejs/nodejs-0.4.9.ebuild b/net-libs/nodejs/nodejs-0.4.9.ebuild
new file mode 100644
index 000000000000..25ef5f4d75a3
--- /dev/null
+++ b/net-libs/nodejs/nodejs-0.4.9.ebuild
@@ -0,0 +1,42 @@
+# 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.4.9.ebuild,v 1.1 2011/07/02 15:53:57 patrick Exp $
+
+EAPI="2"
+
+inherit eutils
+
+# omgwtf
+RESTRICT="test"
+
+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
+}