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 462231381F3 for ; Mon, 6 May 2013 19:52:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92EA7E08F2; Mon, 6 May 2013 19:52:10 +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 B5FB4E08F2 for ; Mon, 6 May 2013 19:52:09 +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 CE04833DF98 for ; Mon, 6 May 2013 19:52:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 771B6E4CF8 for ; Mon, 6 May 2013 19:52: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: <1367866689.48ce39cd4b8ba84f81c436d01ef15f7484cc592e.neurogeek@gentoo> Subject: [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/which/ X-VCS-Repository: dev/neurogeek X-VCS-Files: dev-nodejs/which/Manifest dev-nodejs/which/which-1.0.5.ebuild X-VCS-Directories: dev-nodejs/which/ X-VCS-Committer: neurogeek X-VCS-Committer-Name: Jesus Rivero X-VCS-Revision: 48ce39cd4b8ba84f81c436d01ef15f7484cc592e X-VCS-Branch: master Date: Mon, 6 May 2013 19:52: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: 14ae3cbc-8e86-4315-b723-45e9c20fa834 X-Archives-Hash: e5ca752488a5f838278bd62f5107c974 commit: 48ce39cd4b8ba84f81c436d01ef15f7484cc592e Author: Jesus Rivero gmail com> AuthorDate: Mon May 6 18:58:09 2013 +0000 Commit: Jesus Rivero gentoo 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 +}