* [gentoo-commits] gentoo-x86 commit in net-libs/nodejs: nodejs-0.7.7.ebuild ChangeLog
@ 2012-04-04 10:21 Patrick Lauer (patrick)
0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2012-04-04 10:21 UTC (permalink / raw
To: gentoo-commits
patrick 12/04/04 10:21:57
Modified: ChangeLog
Added: nodejs-0.7.7.ebuild
Log:
Bump, hackaround for upstream forgetting how makefiles work
(Portage version: 2.2.0_alpha98/cvs/Linux x86_64)
Revision Changes Path
1.34 net-libs/nodejs/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.34&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?rev=1.34&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/ChangeLog?r1=1.33&r2=1.34
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ChangeLog 25 Mar 2012 14:58:28 -0000 1.33
+++ ChangeLog 4 Apr 2012 10:21:57 -0000 1.34
@@ -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.33 2012/03/25 14:58:28 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.34 2012/04/04 10:21:57 patrick Exp $
+
+*nodejs-0.7.7 (04 Apr 2012)
+
+ 04 Apr 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.7.7.ebuild:
+ Bump, hackaround for upstream forgetting how makefiles work
*nodejs-0.6.14 (25 Mar 2012)
1.1 net-libs/nodejs/nodejs-0.7.7.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.7.7.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/nodejs/nodejs-0.7.7.ebuild?rev=1.1&content-type=text/plain
Index: nodejs-0.7.7.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.7.7.ebuild,v 1.1 2012/04/04 10:21:57 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.9.24.7
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 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() {
# there are no words to describe the epic idiocy of ...
# NOT using make but a JavaScript thingy to try to install things ... to the wrong place
# WHY U NO MAEK SENSE?!
#emake DESTDIR="${D}" install || die
mkdir -p "${D}"/usr/include/node
mkdir -p "${D}"/bin
mkdir -p "${D}"/lib/node_modules/npm
cp 'src/node.h' 'src/node_buffer.h' 'src/node_object_wrap.h' 'src/node_version.h' "${D}"/usr/include/node || die "Failed to copy stuff"
cp 'deps/uv/include/ares.h' 'deps/uv/include/ares_version.h' "${D}"/usr/include/node || die "Failed to copy stuff"
cp 'out/Release/node' ${D}/bin/node || die "Failed to copy stuff"
cp -R deps/npm/* ${D}/lib/node_modules/npm || 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 /lib/node_modules/npm/bin/npm-cli.js /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-04-04 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-04 10:21 [gentoo-commits] gentoo-x86 commit in net-libs/nodejs: nodejs-0.7.7.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