From b89b3d0865ba923f120a67c13c4fd14a4a12aa41 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Sun, 15 Apr 2012 00:49:04 +0000 Subject: Moving node binary to /usr/bin #411947 Package-Manager: portage-2.2.0_alpha100/cvs/Linux x86_64 --- net-libs/nodejs/ChangeLog | 8 +++- net-libs/nodejs/Manifest | 4 +- net-libs/nodejs/nodejs-0.7.7-r1.ebuild | 69 ++++++++++++++++++++++++++++++++++ net-libs/nodejs/nodejs-0.7.7.ebuild | 69 ---------------------------------- 4 files changed, 78 insertions(+), 72 deletions(-) create mode 100644 net-libs/nodejs/nodejs-0.7.7-r1.ebuild delete mode 100644 net-libs/nodejs/nodejs-0.7.7.ebuild (limited to 'net-libs') diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog index 9a76356baf92..c6c115fde8d1 100644 --- a/net-libs/nodejs/ChangeLog +++ b/net-libs/nodejs/ChangeLog @@ -1,6 +1,12 @@ # 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.35 2012/04/14 12:20:24 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.36 2012/04/15 00:49:04 patrick Exp $ + +*nodejs-0.7.7-r1 (15 Apr 2012) + + 15 Apr 2012; Patrick Lauer +nodejs-0.7.7-r1.ebuild, + -nodejs-0.7.7.ebuild: + Moving node binary to /usr/bin #411947 *nodejs-0.6.15 (14 Apr 2012) diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index 65114a70199b..199a77523f8e 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -4,6 +4,6 @@ DIST node-v0.6.15.tar.gz 10741691 RMD160 a1eda2fc6f9031787fab1f9d393038f2ecb46a8 DIST node-v0.7.7.tar.gz 10927479 RMD160 df2fa29d128806228f8014f15ebcde762cca4920 SHA1 b8c12343d8701a109046e3ee1d40836ff50ca51e SHA256 40d67cdaba5fdef522fc49e31220ffc3278c90cb5ca1dc5dbb6e43cbc938f8d1 EBUILD nodejs-0.6.14.ebuild 1022 RMD160 48aa86b6a0fc151b3ac24b5342268373f8bb5bd8 SHA1 c56555cd89563bc746fd3bceae7d1fdccd10e95e SHA256 8364f070a69e3116b2ce0836632cabecdf1d321ea2e5fde8014d1b0389d67dbe EBUILD nodejs-0.6.15.ebuild 1022 RMD160 e5edcea2f4bb4cee900bf733089aba149d3231c9 SHA1 676eb153d1baebf0686afcec7d4ecb5338314b88 SHA256 392e7c2b4a1bcc5198d3ce7aa7c951d31767a19df7b7e10682f1d7f50e81ad57 -EBUILD nodejs-0.7.7.ebuild 1952 RMD160 a5a60df34e2df061574fc46f2a45f41ce7f61a92 SHA1 197cea9cd2819f8586bea2adf526f47000bc852e SHA256 3529a9601cb42aa015cb02559a1f1963af5ca1e269825495f7023ec5a2f81bc5 -MISC ChangeLog 5754 RMD160 fbb9ceca4f370394e94aa59f3f96eb38e49d2115 SHA1 6f1f0ba71b330c118066bbed8ff898d52c4bbdb6 SHA256 dd41b099632609fba130f911995eb1e95741577b070ea9ff5df8316462f6c453 +EBUILD nodejs-0.7.7-r1.ebuild 1961 RMD160 5bee85dcce1bcf4f465eabcddfaa29ebc120e899 SHA1 fea215adaecdf054382f1eb59b49db49f7f66128 SHA256 cc3cfd28f40e428c78a8433c8f8667ac62e052a7785e2bc977c4e232ab0c513b +MISC ChangeLog 5927 RMD160 f100a31aaca2856471314527551ab3f76a714fc7 SHA1 a08cc1aee8b901a998b17b4f85177f0365ef9f65 SHA256 4ee44f36eebab15ffd071a61ddbccdc72833dd6bd021e238512cc6278b50a2ca MISC metadata.xml 328 RMD160 e5da1c480cbfe9b6db2e3bdc4bf8b3c291018d83 SHA1 7aed54b3272a8262b0b3ed60355a8f8c4e16141e SHA256 ad2c212a575c70f52ed8075ccc5ceca143c69b933e94a0e14db5b81c2af09a0d diff --git a/net-libs/nodejs/nodejs-0.7.7-r1.ebuild b/net-libs/nodejs/nodejs-0.7.7-r1.ebuild new file mode 100644 index 000000000000..2a1f9296a09f --- /dev/null +++ b/net-libs/nodejs/nodejs-0.7.7-r1.ebuild @@ -0,0 +1,69 @@ +# 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-r1.ebuild,v 1.1 2012/04/15 00:49:04 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}"/usr/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}/usr/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 +} diff --git a/net-libs/nodejs/nodejs-0.7.7.ebuild b/net-libs/nodejs/nodejs-0.7.7.ebuild deleted file mode 100644 index 171e052bde8f..000000000000 --- a/net-libs/nodejs/nodejs-0.7.7.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# 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.2 2012/04/04 15:32:15 mr_bones_ 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 -} -- cgit v1.2.3-65-gdbad