From a79a3dd5cc579bf41a31f73f74a071093b5dc4f5 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 2 Dec 2011 02:30:21 +0100 Subject: net-libs/nodejs: version bump --- net-libs/nodejs/Manifest | 2 ++ net-libs/nodejs/nodejs-0.6.2.ebuild | 50 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 net-libs/nodejs/nodejs-0.6.2.ebuild (limited to 'net-libs/nodejs') diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index da102f5..89755ab 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -1,2 +1,4 @@ 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 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 diff --git a/net-libs/nodejs/nodejs-0.6.2.ebuild b/net-libs/nodejs/nodejs-0.6.2.ebuild new file mode 100644 index 0000000..3ab4493 --- /dev/null +++ b/net-libs/nodejs/nodejs-0.6.2.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 +} -- cgit v1.2.3