public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jesus Rivero" <neurogeek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/inherits/
Date: Mon,  6 May 2013 04:39:26 +0000 (UTC)	[thread overview]
Message-ID: <1367812722.f2d451f697ebf1038ff13c7f56e674452da5896d.neurogeek@gentoo> (raw)

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

dev-nodejs/inherits: Initial commit

---
 dev-nodejs/inherits/Manifest              |    2 +
 dev-nodejs/inherits/inherits-1.0.0.ebuild |   38 +++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/dev-nodejs/inherits/Manifest b/dev-nodejs/inherits/Manifest
new file mode 100644
index 0000000..355c1ee
--- /dev/null
+++ b/dev-nodejs/inherits/Manifest
@@ -0,0 +1,2 @@
+DIST inherits-1.0.0.tgz 1042 SHA256 2be196fa6bc6a0c65fecd737af457589ef88b22a95d5dc31aab01d92ace48186 SHA512 e4a7d71128c201f1507a5d932ea86bd7c344cfef948965480348f01f3b3629bbdbddefabf86fde56145fa196da3c22f43e7111bcae5878c821d363b879e9ee7f WHIRLPOOL b15a77bd10312572f53fd07719c92fe8fa371bd05a5167ec284bb85c8558f2710aed5ecefbcd85f0c10c41c2bbf6ba7fb05615a0b49b5908b97de53ebe6908e7
+EBUILD inherits-1.0.0.ebuild 770 SHA256 d4e75ec617391d9a040888f1c94927a4ddbfd437a94a4c1beda3074edeb2fa8b SHA512 fe19fbea5ea9d4982d474742999ecd24298c60686bc6b18b083a76d1d2466fa36b3b01a84a5e85117565864d7ba08926c8648c506c6a917ce32578619d67542d WHIRLPOOL 6e98c62885347435ed813911a15bac60b355c18a943b460fa1123dede63008be8c846298927532eb71529916f26174fd470e5a7bc1f22744b2ffc6ef62ce155d

diff --git a/dev-nodejs/inherits/inherits-1.0.0.ebuild b/dev-nodejs/inherits/inherits-1.0.0.ebuild
new file mode 100644
index 0000000..4d88f1f
--- /dev/null
+++ b/dev-nodejs/inherits/inherits-1.0.0.ebuild
@@ -0,0 +1,38 @@
+# 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="A tiny simple way to do classic inheritance in js"
+HOMEPAGE="https://npmjs.org/package/inherits"
+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}
+
+	dodoc README*
+}


             reply	other threads:[~2013-05-06  4:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-06  4:39 Jesus Rivero [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-13 15:32 [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/inherits/ Jesus Rivero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1367812722.f2d451f697ebf1038ff13c7f56e674452da5896d.neurogeek@gentoo \
    --to=neurogeek@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox