# 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.8.ebuild,v 1.1 2012/01/20 09:21:28 patrick Exp $ EAPI="2" inherit 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="~x86 ~amd64" IUSE="" DEPEND=">=dev-lang/v8-3.5.10.22 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 pax-mark -m "${D}"/usr/bin/node } src_test() { emake test || die }