From: "Jesus Rivero" <neurogeek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/resolve/
Date: Mon, 13 May 2013 21:34:42 +0000 (UTC) [thread overview]
Message-ID: <1368480599.d546335b949fbcf660b63d2c4a3082fa5b4e7d19.neurogeek@gentoo> (raw)
commit: d546335b949fbcf660b63d2c4a3082fa5b4e7d19
Author: Jesus Rivero <jesus.riveroa <AT> gmail <DOT> com>
AuthorDate: Mon May 13 21:29:59 2013 +0000
Commit: Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Mon May 13 21:29:59 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=d546335b
dev-nodejs/resolve: Initial commit
---
dev-nodejs/resolve/Manifest | 2 +
dev-nodejs/resolve/resolve-0.3.1.ebuild | 43 +++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/dev-nodejs/resolve/Manifest b/dev-nodejs/resolve/Manifest
new file mode 100644
index 0000000..e62c77e
--- /dev/null
+++ b/dev-nodejs/resolve/Manifest
@@ -0,0 +1,2 @@
+DIST resolve-0.3.1.tgz 5777 SHA256 2e9424747b687ff5cabd8c51e3fbd48152fe0cc89ba37f8d6a6e926ea741a092 SHA512 9b1c7f23fc0b8f1b6bc8306daeb6f464dcda60445559a1e92745b402b9bc37897c6fe8e25ff539c8a72c8f4cd0a45f54b8a375bb3f341144ceb9d38de8e3ee69 WHIRLPOOL f8f7a100ca75f94ea20e1b7f11ab7429e9e888ff1e107629627f46c2a6f6a04583edd2f0fa39536b618c818f1259bd55b5b857db8d71e7144a7f2a90a49583ee
+EBUILD resolve-0.3.1.ebuild 853 SHA256 669f3316ee2db68ec96acfea814db47744cf2b28e1b9becd7ed92f08a7f86bb4 SHA512 7f519b72c6fd3d29394ad697b400102c80371e60430e45213d059508578ca93cb002b94dba39b9f42bbc92cd666640b45e3fd7f463eaf36de898eecee4cc89fe WHIRLPOOL 3ef9ed5ae64c9c21ab934551125921cb9e5384be4a64a6515f40943760537001954c6b2aa5d75eeb427a1ce625592ba4f4b3c735e9f583aeb56c0268c887fe1a
diff --git a/dev-nodejs/resolve/resolve-0.3.1.ebuild b/dev-nodejs/resolve/resolve-0.3.1.ebuild
new file mode 100644
index 0000000..c1d749f
--- /dev/null
+++ b/dev-nodejs/resolve/resolve-0.3.1.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="Resolve like require.resolve() on behalf of files asynchronously
+and synchronously."
+HOMEPAGE="https://npmjs.org/package/resolve"
+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="${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,index.js,package.json} ${node_modules}
+
+ dodoc readme* LICENSE
+
+ if use example; then
+ dodoc -r example
+ fi
+}
reply other threads:[~2013-05-13 21:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1368480599.d546335b949fbcf660b63d2c4a3082fa5b4e7d19.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