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

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

Initial commit

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

diff --git a/dev-nodejs/lru-cache/Manifest b/dev-nodejs/lru-cache/Manifest
new file mode 100644
index 0000000..a8325cb
--- /dev/null
+++ b/dev-nodejs/lru-cache/Manifest
@@ -0,0 +1,2 @@
+DIST lru-cache-2.3.0.tgz 6617 SHA256 fbb1a14e0314095b7999a3a7489c92983f3d95b188857af697487ac8a778e942 SHA512 5f204260bd244d92cd2058f8f260147b54343d32ec3a51f8724dd884733e67601a8bc6842e7e9ba9cf887a1e20a5a37776276eab9034e9668dcf642afbc46e30 WHIRLPOOL 29366c676975865295ca40bce37c0ef5a269995d6cf48d1d78c682a86f37b2237080f79019b0765173299b504456ba6e534217b6de82a9d71636bbc6b09fce1a
+EBUILD lru-cache-2.3.0.ebuild 779 SHA256 dae657d36b51a1eb567ff67f9a93ff0e10f14df86b784deb2bc855258589ca96 SHA512 e6f30b86faf680b48e32c74fae1dd7101a52631bab841d9c337b09aef45c757f1415871fa09eb607f098bf2faea540bce0ee9c5ece3fde14be3722ad0686aac1 WHIRLPOOL f9cd0f1ffbb973a9e4d1f2758e9fe9611ba646fe2e066f127996c5e69020d5f45f20cf023cd556c4c0c889d5fd94cc6698c7b98e0f79ef112fe23afcdd976fc1

diff --git a/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild b/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild
new file mode 100644
index 0000000..77e0815
--- /dev/null
+++ b/dev-nodejs/lru-cache/lru-cache-2.3.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="Higher-order functions and common patterns for asynchronous code"
+HOMEPAGE="https://npmjs.org/package/lru-cache"
+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}/{s.js,lib,package.json} ${node_modules}
+
+	dodoc README* LICENSE
+}


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

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

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

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