From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DAE87138202 for ; Fri, 10 May 2013 18:50:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A4898E0A85; Fri, 10 May 2013 18:50:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F34D1E0A85 for ; Fri, 10 May 2013 18:50:08 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 04A5E33DEEC for ; Fri, 10 May 2013 18:50:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9081FE517B for ; Fri, 10 May 2013 18:50:06 +0000 (UTC) From: "Jesus Rivero" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jesus Rivero" Message-ID: <1368108877.2696a93b53a458d378f3915c4e25e0871904fac2.neurogeek@gentoo> Subject: [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/read/ X-VCS-Repository: dev/neurogeek X-VCS-Files: dev-nodejs/read/Manifest dev-nodejs/read/read-1.0.4.ebuild X-VCS-Directories: dev-nodejs/read/ X-VCS-Committer: neurogeek X-VCS-Committer-Name: Jesus Rivero X-VCS-Revision: 2696a93b53a458d378f3915c4e25e0871904fac2 X-VCS-Branch: master Date: Fri, 10 May 2013 18:50:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: dc124dff-dcfd-4d07-b58f-a4fe594e0970 X-Archives-Hash: ccafc72af9657bb787a65b4437396ccf commit: 2696a93b53a458d378f3915c4e25e0871904fac2 Author: Jesus Rivero gmail com> AuthorDate: Thu May 9 14:14:37 2013 +0000 Commit: Jesus Rivero gentoo org> CommitDate: Thu May 9 14:14:37 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=2696a93b dev-nodejs/read: Initial commit --- dev-nodejs/read/Manifest | 2 + dev-nodejs/read/read-1.0.4.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 0 deletions(-) diff --git a/dev-nodejs/read/Manifest b/dev-nodejs/read/Manifest new file mode 100644 index 0000000..5e7364d --- /dev/null +++ b/dev-nodejs/read/Manifest @@ -0,0 +1,2 @@ +DIST read-1.0.4.tgz 4154 SHA256 8be269afeaa7cc62feb4672e8e61e5133152266dc5347b23cf5b05bc40789601 SHA512 1cd5b2db585dc8cefe091f8371bdbf549cbc8cc607ed065f40d94208c43fe9f0201ba187949ef09fa7a24f3435f84eb29f4608c6c2984443a5b99be8cddd434c WHIRLPOOL 78fa667fd79d47739f547535872f5721ce88bbf7661ffce02cc4d7f48e24d15b54635a986023a087967d4c148929aa107d401bcc3add5114a1944122414e7040 +EBUILD read-1.0.4.ebuild 819 SHA256 de0b6e265d7ac7df02ad7d13da3aa9c3b6f34124703f704734b6240aa1fbead3 SHA512 3565bff6d36d6f8754561541c9ed410749f6bc2efb7854d0481e9e44f5d161d5907b752a00f6c3c925ca4dd192dfdecc60b05758a5943a86f7e30416b6e1f16d WHIRLPOOL d735c29c803217edbdc711959524feee3efbb467d7f896cb772f5f2925dc4cb6e4146127facaa7d62f59cdda6a1a429643bf00504b33b4b65843a01fdbe58e65 diff --git a/dev-nodejs/read/read-1.0.4.ebuild b/dev-nodejs/read/read-1.0.4.ebuild new file mode 100644 index 0000000..f505d66 --- /dev/null +++ b/dev-nodejs/read/read-1.0.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +NODEJS_MODULE=${PN} + +inherit multilib + +DESCRIPTION="read(1) for Node.js programs" +HOMEPAGE="https://npmjs.org/package/read" +SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="example" + +DEPEND=">=net-libs/nodejs-0.8.10" +RDEPEND=">=dev-nodejs/mute-stream-0.0.3 + ${DEPEND}" + +src_unpack() { + unpack "${A}" + mv "${WORKDIR}/package" ${S} +} + +src_compile() { + true +} + +src_install() { + local node_modules="${D}/usr/$(get_libdir)/node_modules/${NODEJS_MODULE}" + + mkdir -p ${node_modules} || die "Could not create DEST folder" + cp -r ${S}/{lib,package.json} ${node_modules} + + dodoc README* LICEN* + + if use example; then + dodoc -r example + fi +}