diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-04-04 10:21:57 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-04-04 10:21:57 +0000 |
commit | 272a5f9a60a69da29564049e62da9befae1c4ef0 (patch) | |
tree | 0b88af82fa8539394986d4f8a26fc2c2056bf86e /net-libs/nodejs | |
parent | Adding nodejs to v8 mask (diff) | |
download | historical-272a5f9a60a69da29564049e62da9befae1c4ef0.tar.gz historical-272a5f9a60a69da29564049e62da9befae1c4ef0.tar.bz2 historical-272a5f9a60a69da29564049e62da9befae1c4ef0.zip |
Bump, hackaround for upstream forgetting how makefiles work
Package-Manager: portage-2.2.0_alpha98/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.7.7.ebuild | 69 |
3 files changed, 78 insertions, 2 deletions
diff --git a/net-libs/nodejs/ChangeLog b/net-libs/nodejs/ChangeLog index 029935950c65..b2fe13839cf2 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.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) diff --git a/net-libs/nodejs/Manifest b/net-libs/nodejs/Manifest index 6844e9320393..ec789b8315fb 100644 --- a/net-libs/nodejs/Manifest +++ b/net-libs/nodejs/Manifest @@ -1,7 +1,9 @@ AUX nodejs-v8-3.5.patch 440 RMD160 3acac03a96fa3c6365a076eb47b4c1bac12d5a2c SHA1 135a23be4458187b358d5edb3c5f46be92312c45 SHA256 e27140ed4fb2d9db928c8a8138b53461eea352261265f9953c821ca15dfdd91f DIST node-v0.6.13.tar.gz 10757157 RMD160 1f9134e764c60557a8452445383e395160c4f877 SHA1 04379ec7651db61bb0023f151b49c4ddbb1de4ff SHA256 fc4f3ceacfd2cfc4ec75fc59d97f1f2d04947efd5e191efaddeb552df486245b DIST node-v0.6.14.tar.gz 10742747 RMD160 e4720eec19c3f1d80bd2bdc204cc48834f63d99a SHA1 84da327465a96c8fdfb58f351e877e417570a8fb SHA256 e41922308155c5197c2d048948ca9cd76ea5f9a51f977e1591bd93fe17d4cf1f +DIST node-v0.7.7.tar.gz 10927479 RMD160 df2fa29d128806228f8014f15ebcde762cca4920 SHA1 b8c12343d8701a109046e3ee1d40836ff50ca51e SHA256 40d67cdaba5fdef522fc49e31220ffc3278c90cb5ca1dc5dbb6e43cbc938f8d1 EBUILD nodejs-0.6.13.ebuild 1022 RMD160 697080153d919ab77f8e8d3b815154948d1ff537 SHA1 cd30a8ef0cce641a4269d5eae38cfea2e4cef54e SHA256 f77c481bd3f433eb4bb2d6e77a65bef568f1c2fe7b46a265351e987809b2fba1 EBUILD nodejs-0.6.14.ebuild 1022 RMD160 48aa86b6a0fc151b3ac24b5342268373f8bb5bd8 SHA1 c56555cd89563bc746fd3bceae7d1fdccd10e95e SHA256 8364f070a69e3116b2ce0836632cabecdf1d321ea2e5fde8014d1b0389d67dbe -MISC ChangeLog 5442 RMD160 5f6505e68f31b29efa3ffc98b5c327704f2e1e03 SHA1 c407a61616959baacd98484e9502eaa52622bf0b SHA256 728ef75e8a5ea3277f5e6520b7ee9cc5c771e90b94cd8253a6214260e6b67b76 +EBUILD nodejs-0.7.7.ebuild 1952 RMD160 67fd5eb643530f5e6684753e4a8d2693d3655dd3 SHA1 1e8a96c2930b357f155b6253acf0eb439fae9514 SHA256 ff72f01c84d5a28ab310803dd9735715114061942ad83a17c2e79b341331cc4a +MISC ChangeLog 5606 RMD160 7c6f50e472b22847afed6f7db76f8d87de757f65 SHA1 56b30a75efc0620cb68257d93175729680b9526a SHA256 6d1e6a1e01fff2ddc68e5dd65a75a7b7e7b2cd354b1796642ab7ec6e4ba65e34 MISC metadata.xml 328 RMD160 e5da1c480cbfe9b6db2e3bdc4bf8b3c291018d83 SHA1 7aed54b3272a8262b0b3ed60355a8f8c4e16141e SHA256 ad2c212a575c70f52ed8075ccc5ceca143c69b933e94a0e14db5b81c2af09a0d diff --git a/net-libs/nodejs/nodejs-0.7.7.ebuild b/net-libs/nodejs/nodejs-0.7.7.ebuild new file mode 100644 index 000000000000..d265cd6ad258 --- /dev/null +++ b/net-libs/nodejs/nodejs-0.7.7.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.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 +} |