aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net-libs/nodejs/Manifest2
-rw-r--r--net-libs/nodejs/nodejs-0.6.3.ebuild50
-rw-r--r--profiles/package.mask2
3 files changed, 54 insertions, 0 deletions
diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest
index 89755ab..9c4acb4 100644
--- a/net-libs/nodejs/Manifest
+++ b/net-libs/nodejs/Manifest
@@ -1,4 +1,6 @@
DIST node-v0.6.0.tar.gz 9242110 RMD160 9dcfb94a55352b72efc10cfa078a9047ee4e610f SHA1 731bb2d5d8235470e5e14d71549c082eba5a5b66 SHA256 1b6a34b6f2099145c44a0c20d3a5cab7c9ec063de1a195ddeda61ad55d601d7f
DIST node-v0.6.2.tar.gz 9286655 RMD160 41ef4785eda084de891265e3df3ca185ee85347b SHA1 f619bc741d039fd3f929dafd5d817f239f983afd SHA256 3a24f6f91bb806a230a7b200ca638459a9680ea2daf9a427098c61f847016139
+DIST node-v0.6.3.tar.gz 10048403 RMD160 be42db24394c907abf747005176f227d175abb15 SHA1 5162180851c8e9249d1ae0a3d1c118036cc56a8d SHA256 fe5642d26d04cc7e7d47daa426da2a79e244bdcbae1594a12578f0d6fe03082e
EBUILD nodejs-0.6.0.ebuild 879 RMD160 75736ac00a3a9100484618be2a78b59d2a93ffa1 SHA1 50a9e9475f27856a51e23084c2b228562b0b66a5 SHA256 ec663876d6de97bde179dda37fdc6c9dc881bb8f52f3c03444606df014088dc0
EBUILD nodejs-0.6.2.ebuild 905 RMD160 d23454e8552917920e5306cc0cde55c3983d8f70 SHA1 d9b9cbe5ad0e0f162b756a3c0fea98473bd9b707 SHA256 dff733f14301f7fa8c1b38bc79d171295bca615dfd7053872213e2905d5c8691
+EBUILD nodejs-0.6.3.ebuild 905 RMD160 d23454e8552917920e5306cc0cde55c3983d8f70 SHA1 d9b9cbe5ad0e0f162b756a3c0fea98473bd9b707 SHA256 dff733f14301f7fa8c1b38bc79d171295bca615dfd7053872213e2905d5c8691
diff --git a/net-libs/nodejs/nodejs-0.6.3.ebuild b/net-libs/nodejs/nodejs-0.6.3.ebuild
new file mode 100644
index 0000000..3ab4493
--- /dev/null
+++ b/net-libs/nodejs/nodejs-0.6.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils python
+
+# 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="~x86 ~amd64"
+IUSE=""
+
+PYTHON_DEPEND="2"
+
+DEPEND=">=dev-lang/v8-3.5.10.22
+ dev-libs/openssl"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/node-v${PV}
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ ebegin "Converting python shebangs"
+ python_convert_shebangs -r -q -- 2 tools/
+ eend $? || die
+}
+
+src_configure() {
+ # this is a waf confuserator
+ ./configure --prefix=/usr --shared-v8 || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+
+ dodoc ChangeLog README.md AUTHORS || die
+ dodoc -r doc/api/api || die
+}
diff --git a/profiles/package.mask b/profiles/package.mask
new file mode 100644
index 0000000..e3fe589
--- /dev/null
+++ b/profiles/package.mask
@@ -0,0 +1,2 @@
+# bundled npm is broken (missing man pages)
+=net-libs/nodejs-0.6.3