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

commit:     48ce39cd4b8ba84f81c436d01ef15f7484cc592e
Author:     Jesus Rivero <jesus.riveroa <AT> gmail <DOT> com>
AuthorDate: Mon May  6 18:58:09 2013 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Mon May  6 18:58:09 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=48ce39cd

dev-nodejs/which: Initial commit

---
 dev-nodejs/which/Manifest           |    2 +
 dev-nodejs/which/which-1.0.5.ebuild |   39 +++++++++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/which/Manifest b/dev-nodejs/which/Manifest
new file mode 100644
index 0000000..861daab
--- /dev/null
+++ b/dev-nodejs/which/Manifest
@@ -0,0 +1,2 @@
+DIST which-1.0.5.tgz 2504 SHA256 e26f39d7b152c700636472ab4da57bfb9af17972c49a9e2a06f9ff347d8fad42 SHA512 a7cdb0f5edfadbc635b02238d4f6f365be506da72cb7662dfe01389adaab357bfae529b035b01c42f4b85647a1b6a99c94070e877ead8108b0860e9f2af9320c WHIRLPOOL bde165819cac6016bb4b3a0f3eee718460aeced63b72253c765d6af6542e69e28f84a2844362650a74ca22212a9aee3eabdca202db18eefd2e9aa94e9657f21c
+EBUILD which-1.0.5.ebuild 791 SHA256 3d71fde43bca0ccd641fce76890ef309439adb8c90fa6c3a3a609c5a428258c1 SHA512 9473717641e4e6a8a83fbeb4075d613197c6d386c6de8eeadd57d1fa50c9249358fa2fddc89b0fd45a3c2e6e733576c4dc502875b96829e1753641a1d798a35b WHIRLPOOL 188b3ea5d961e2180274d0745cfe6887bfb0c988dab2bb08177c26378bffe1502dfcc9bf9194c4aa081c1bf5375e86d2b0c3fc6e70fb637f9591e419cf391cb4

diff --git a/dev-nodejs/which/which-1.0.5.ebuild b/dev-nodejs/which/which-1.0.5.ebuild
new file mode 100644
index 0000000..f0b2c6a
--- /dev/null
+++ b/dev-nodejs/which/which-1.0.5.ebuild
@@ -0,0 +1,39 @@
+# 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="Find the first instance of an executable in the PATH."
+HOMEPAGE="https://npmjs.org/package/which"
+SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=net-libs/nodejs-0.8.10"
+RDEPEND="${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}/{${PN}.js,package.json} ${node_modules}
+
+	newbin bin/which which.js
+	dodoc README* LICENSE
+}


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

only message in thread, other threads:[~2013-05-06 19:52 UTC | newest]

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

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