summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-05-18 10:03:44 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-05-18 10:03:44 +0000
commit5e62c9aa3e51f4cdfef1f56f7153a05746a2baa9 (patch)
treefddc480002de3c718629313045a7542a20a84964 /net-libs
parentFixed bug #416473. (diff)
downloadgentoo-2-5e62c9aa3e51f4cdfef1f56f7153a05746a2baa9.tar.gz
gentoo-2-5e62c9aa3e51f4cdfef1f56f7153a05746a2baa9.tar.bz2
gentoo-2-5e62c9aa3e51f4cdfef1f56f7153a05746a2baa9.zip
Bump
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nodejs/ChangeLog7
-rw-r--r--net-libs/nodejs/nodejs-0.6.18.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog
index 7aa9d45f2d78..e3ed1121ad50 100644
--- a/net-libs/nodejs/ChangeLog
+++ b/net-libs/nodejs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/nodejs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.39 2012/05/08 02:30:01 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.40 2012/05/18 10:03:44 patrick Exp $
+
+*nodejs-0.6.18 (18 May 2012)
+
+ 18 May 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.6.18.ebuild:
+ Bump
*nodejs-0.6.17 (08 May 2012)
diff --git a/net-libs/nodejs/nodejs-0.6.18.ebuild b/net-libs/nodejs/nodejs-0.6.18.ebuild
new file mode 100644
index 000000000000..d1015b510a4a
--- /dev/null
+++ b/net-libs/nodejs/nodejs-0.6.18.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/nodejs-0.6.18.ebuild,v 1.1 2012/05/18 10:03:44 patrick Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+
+inherit python eutils pax-utils
+
+# omgwtf
+RESTRICT="test"
+
+DESCRIPTION="Evented IO for V8 Javascript"
+HOMEPAGE="http://nodejs.org/"
+SRC_URI="http://nodejs.org/dist/v${PV}/node-v${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
+IUSE=""
+
+DEPEND=">=dev-lang/v8-3.6.6.24
+ dev-libs/openssl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/node-v${PV}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ sed -i -e "/flags = \['-arch', arch\]/s/= .*$/= ''/" wscript || die
+}
+
+src_configure() {
+ # this is a waf confuserator
+ ./configure --shared-v8 --prefix="${EPREFIX}"/usr || die
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ pax-mark -m "${ED}"/usr/bin/node
+}
+
+src_test() {
+ emake test || die
+}