* [gentoo-commits] gentoo-x86 commit in net-libs/nodejs: nodejs-0.8.15.ebuild ChangeLog
@ 2012-11-27 3:52 Patrick Lauer (patrick)
0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2012-11-27 3:52 UTC (permalink / raw
To: gentoo-commits
patrick 12/11/27 03:52:53
Modified: ChangeLog
Added: nodejs-0.8.15.ebuild
Log:
Bump
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Revision Changes Path
1.64 net-libs/nodejs/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.64&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.64&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?r1=1.63&r2=1.64
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -r1.63 -r1.64
--- ChangeLog 26 Nov 2012 01:32:27 -0000 1.63
+++ ChangeLog 27 Nov 2012 03:52:52 -0000 1.64
@@ -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.63 2012/11/26 01:32:27 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.64 2012/11/27 03:52:52 patrick Exp $
+
+*nodejs-0.8.15 (27 Nov 2012)
+
+ 27 Nov 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.8.15.ebuild:
+ Bump
*nodejs-0.9.3-r1 (26 Nov 2012)
1.1 net-libs/nodejs/nodejs-0.8.15.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.8.15.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.8.15.ebuild?rev=1.1&content-type=text/plain
Index: nodejs-0.8.15.ebuild
===================================================================
# 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.8.15.ebuild,v 1.1 2012/11/27 03:52:52 patrick Exp $
EAPI=5
PYTHON_DEPEND="2"
inherit python eutils multilib 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.11.10:=
dev-libs/openssl"
RDEPEND="${DEPEND}"
S=${WORKDIR}/node-v${PV}
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
# fix compilation on Darwin
# http://code.google.com/p/gyp/issues/detail?id=260
sed -i -e "/append('-arch/d" tools/gyp/pylib/gyp/xcode_emulation.py || die
# Hardcoded braindamage extraction helper
#sed -i -e 's:wafdir = join(prefix, "lib", "node"):wafdir = "/lib/node/":' tools/node-waf || die
python_convert_shebangs 2 tools/node-waf || die
}
src_configure() {
# this is an autotools lookalike confuserator
./configure --shared-v8 --prefix="${EPREFIX}"/usr --shared-v8-includes="${EPREFIX}"/usr/include --openssl-use-sys --shared-zlib || die
}
src_compile() {
emake || die
}
src_install() {
docompress -x /lib/node_modules/npm/man
local MYLIB=$(get_libdir)
mkdir -p "${ED}"/usr/include/node
mkdir -p "${ED}"/usr/bin
mkdir -p "${ED}"/usr/"${MYLIB}"/node_modules/npm
mkdir -p "${ED}"/usr/"${MYLIB}"/node
cp 'src/eio-emul.h' 'src/ev-emul.h' 'src/node.h' 'src/node_buffer.h' 'src/node_object_wrap.h' 'src/node_version.h' "${ED}"/usr/include/node || die "Failed to copy stuff"
cp -R deps/uv/include/* "${ED}"/usr/include/node || die "Failed to copy stuff"
cp 'out/Release/node' "${ED}"/usr/bin/node || die "Failed to copy stuff"
cp -R deps/npm/* "${ED}"/usr/"${MYLIB}"/node_modules/npm || die "Failed to copy stuff"
cp -R tools/wafadmin "${ED}"/usr/"${MYLIB}"/node/ || die "Failed to copy stuff"
cp 'tools/node-waf' "${ED}"/usr/bin/ || die "Failed to copy stuff"
# now add some extra stupid just because we can
# needs to be a symlink because of hardcoded paths ... no es bueno!
dosym /usr/"${MYLIB}"/node_modules/npm/bin/npm-cli.js /usr/bin/npm
pax-mark -m "${ED}"/usr/bin/node
}
src_test() {
emake test || die
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-11-27 3:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 3:52 [gentoo-commits] gentoo-x86 commit in net-libs/nodejs: nodejs-0.8.15.ebuild ChangeLog Patrick Lauer (patrick)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox