public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/read/
@ 2013-05-10 18:50 Jesus Rivero
  0 siblings, 0 replies; only message in thread
From: Jesus Rivero @ 2013-05-10 18:50 UTC (permalink / raw
  To: gentoo-commits

commit:     2696a93b53a458d378f3915c4e25e0871904fac2
Author:     Jesus Rivero <jesus.riveroa <AT> gmail <DOT> com>
AuthorDate: Thu May  9 14:14:37 2013 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> 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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-10 18:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 18:50 [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/read/ Jesus Rivero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox