diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-12-14 08:46:41 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-12-14 08:46:41 +0000 |
commit | 5b9d5515c229932bcb8fd6076b2394c95dad9528 (patch) | |
tree | 640c14317b881b6ce5fc632c342756b125dc60bf /net-libs/nodejs | |
parent | Initial commit, wrt bug #125614 (diff) | |
download | historical-5b9d5515c229932bcb8fd6076b2394c95dad9528.tar.gz historical-5b9d5515c229932bcb8fd6076b2394c95dad9528.tar.bz2 historical-5b9d5515c229932bcb8fd6076b2394c95dad9528.zip |
Restoring accidentally removed 0.9 version
Package-Manager: portage-2.2.0_alpha148/cvs/Linux x86_64
Diffstat (limited to 'net-libs/nodejs')
-rw-r--r-- | net-libs/nodejs/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/nodejs/Manifest | 4 | ||||
-rw-r--r-- | net-libs/nodejs/nodejs-0.9.3-r1.ebuild | 69 |
3 files changed, 78 insertions, 2 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog index 963a27020890..7d1d8abac9cb 100644 --- a/net-libs/nodejs/ChangeLog +++ b/net-libs/nodejs/ChangeLog @@ -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.65 2012/12/14 03:16:53 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/nodejs/ChangeLog,v 1.66 2012/12/14 08:46:30 patrick Exp $ + +*nodejs-0.9.3-r1 (14 Dec 2012) + + 14 Dec 2012; Patrick Lauer <patrick@gentoo.org> +nodejs-0.9.3-r1.ebuild: + Restoring accidentally removed 0.9 version *nodejs-0.8.16 (14 Dec 2012) diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index 991c2205201f..dcbaea26ab53 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -2,8 +2,10 @@ AUX nodejs-v8-3.5.patch 440 SHA256 e27140ed4fb2d9db928c8a8138b53461eea352261265f DIST node-v0.6.21.tar.gz 10235165 SHA256 22265fd07e09c22f1d058156d548e7398c9740210f534e2f848eeab5b9772117 SHA512 b00908576986741a2c10d00fb9ae4b97c8a8bd8e5937fc196b13bab80098b07f1f5eb2d0e67a1dd1d6d56acf45e4e847a60325501d9db3f02ddebf94e5393d5f WHIRLPOOL 1fa1d71ed761cb9fcef9b3bb0c640075349e0ccc67951e4554de200fd4091051d5b9b56f8d0cf28088df5ca2e9d1b0600e4a44ccf920b01ec570300f2bc38c95 DIST node-v0.8.15.tar.gz 11867033 SHA256 1758639c6df3e081fe26585472d0f1961c5703b44ba6c57ecdf66a4c015792b1 SHA512 be312f86f75db32515c62c3573b0661f884ddc0463df4784ddc591e88f527486e3baf10b10df72240fb358b79f0b0ffcc60560e58103e3f6ac351b8ebe66284d WHIRLPOOL 78978789c048673e6aced0d47b5c01c1d1ab9980215be186c6077273eae089219fba4c7213b7c19a74eaec43e759f4161c6cf52612be4277a160037b9751690c DIST node-v0.8.16.tar.gz 11899509 SHA256 2cd09d4227c787d6886be45dc54dad5aed779d7bd4b1e15ba930101d9d1ed2a4 SHA512 2c068b240bfc303a8d8c50c28c038cfe5158436483395be83d7b0c768e9ef7a74924aa888c66e20b6e4314752e79b856e5db7ecbd21a34f2919b267065389f44 WHIRLPOOL 54b1baa80cfa9d52aeacce1794e1557b5fb45bd03be0b1d2ca284ee4b60f4dbbbd06ae7735838ffac4e625f0c3b248f2da22fe6588d994709bcdf266d9488d62 +DIST node-v0.9.3.tar.gz 12481901 SHA256 7e1750cd47d7b8c13c7cf12457b6a528fa2abf8a10b7c9a35c13ed47cebaab41 SHA512 2e2670832a5838fdffa58a8b1a0afd57d79dc76f92ea319761e35e91fb1495409f793c8080e7de581368520afc5677530b5ad8b97eaa733fe27eeb2a6746fdde WHIRLPOOL 8e9bf4bb605c39fc0b8d13bcf0570e4e34b04e5b363fc98d8eb7f24e3943dd0ec6d5c21347732bf1d5b7d39e6a9a84bbd10aa223fe8a11c1b332b120ba58ce48 EBUILD nodejs-0.6.21-r1.ebuild 1066 SHA256 6fb12a4e4a90e4408c0b953922feae5d31906d5ce589e2f5d71dc6026d20ce71 SHA512 82890ca2f716b1d892e6cdf4bd5d78d88935951cedb7c0d736070b000c58afcbf623f6111bb63d15280370581292946b0e6719538766179a49a005f46b5e2481 WHIRLPOOL a565ec6e35682c35a7af2d9c42f3bc9ed47b67e03a2f73971d97a19e5002aaa50c5ee6286c5da428b1ab1c5e34e2b1209c3653afdc0986388b759e8420966670 EBUILD nodejs-0.8.15.ebuild 2335 SHA256 3008497ee0a757c7cd848a3d10de08695d4703d6f704d92f46c72e5a660859ea SHA512 c24646827cac9eb0b2856394c394bbe38a705b0764e65e0aed7e4753c6fb8d476093f65059c1ff0fab90ef516a4baa9f1d2c348677a9356607634a70f7b88f09 WHIRLPOOL c6d9c5c2d97e54db3c0cae1e710ac1c9701380acac69cd255fb4baefed9ef93cd2f224e5b74871b1e37a0dc9c5363094bb49a48dd3169ba19a1f7b6afc556838 EBUILD nodejs-0.8.16.ebuild 2294 SHA256 efef707af4deb4d1b741079545d0137216dc2a74f305af5931fc9b7ef1544d77 SHA512 df5d71381e9459fc9a2b441534daa7b7914e494407c8f2f4e8b74ed31b79ab75c4b24936df80a984921bf95a8654b110e8b516629f07fd3d2eae295d0b9ffdb3 WHIRLPOOL bdd82ed30a8856a6510ba57d98e07d35898655107824f65f3611619e0df5398b78cb0b02ced068e542923dea0f2b43d3860fe46ba88f09cdca0af2162884c580 -MISC ChangeLog 10445 SHA256 180035f1cb2ce73f89302d9b6741808abbc8cf15f0b2789d6dd13f37a575ab79 SHA512 9e69a82ae16f1c1e09324436ed67906ab6bb3c013cee6d2ab31afa8c7bd765be2c0b3b3f9ca48347507c9ba6adf5c41f3385b65d95ee33e004cfe3cbc476e424 WHIRLPOOL f33c2f9002eefbc9819b92b5880603d487b459ba19e54f2cba2c8327390e651d60e950d6b2e10fd672479ad119112813f2eb199eb0262b19ee11f18eaab7f2a9 +EBUILD nodejs-0.9.3-r1.ebuild 1998 SHA256 4d3edff10724d071f8d3c0692fec5e98933c9e6ce06e873e13a534854ba1b610 SHA512 6ce68a3f898c8f1d2f106ddb940e907af020213469f6597b6e323f96f38232c49b6bd1733d26205f07bbb8023ae3cdbf0b32a60116773aaa315cd1cc440ad93a WHIRLPOOL c13d323a2e22632b77a0a51140c81015ff7257bad621dfb3cb9495cdace004deaaeb073544cc8f26b4c2b1554ca847fe8e5ea35a2e424c1eb81a190554c0a16d +MISC ChangeLog 10598 SHA256 fd68a5368e92bbbb9a7620a5e19c0f52c81c113ac2f19c7e839fd54d82d33a6b SHA512 d1a0398b79949bfdfa60f1093b7371c34bac12d9ae4d09e776ced8dba8fca8504dc95b81cf307a24cf1baf70763ec2e7ad1a18888b64489d361ff43a42df3677 WHIRLPOOL 93b6ac89df125465e14d34656a91a82bec7a10ba615484d881bf3de74601bf4b6b05455c442f3bd290e04659a5274c30b2a34126c1ff0223808e971e193de2f7 MISC metadata.xml 328 SHA256 ad2c212a575c70f52ed8075ccc5ceca143c69b933e94a0e14db5b81c2af09a0d SHA512 d5fa8369aecf7b97778fd8b9dd0e44ff8bb987294a198698323a4bda8816e86609cb6d807e5a4eaeec68c659bc17c88c69b9245f566bf224310c13812bfa55d3 WHIRLPOOL 01f6230ada1f1faf314fb64fad1fc73ab153847da2092df4101d259aa5352021cffcc7ffceb81e1d1df31fccfdb4b791a2ae6aceb3a1d6f1561b74ff3fed4df4 diff --git a/net-libs/nodejs/nodejs-0.9.3-r1.ebuild b/net-libs/nodejs/nodejs-0.9.3-r1.ebuild new file mode 100644 index 000000000000..18be3071e0b3 --- /dev/null +++ b/net-libs/nodejs/nodejs-0.9.3-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.9.3-r1.ebuild,v 1.3 2012/12/14 08:46:30 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 +} + +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" + + # 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 +} |