public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/neurogeek:master commit in: dev-nodejs/underscore/
@ 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:     9aca24e5590eb3612a1223ef349c0f566af9032d
Author:     Jesus Rivero <jesus.riveroa <AT> gmail <DOT> com>
AuthorDate: Mon May  6 19:11:32 2013 +0000
Commit:     Jesus Rivero <neurogeek <AT> gentoo <DOT> org>
CommitDate: Mon May  6 19:11:32 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/neurogeek.git;a=commit;h=9aca24e5

dev-nodejs/underscore: Initial commit

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

diff --git a/dev-nodejs/underscore/Manifest b/dev-nodejs/underscore/Manifest
new file mode 100644
index 0000000..8f123cd
--- /dev/null
+++ b/dev-nodejs/underscore/Manifest
@@ -0,0 +1,2 @@
+DIST underscore-1.4.4.tgz 41763 SHA256 a848a28193850d58d7b98249d70844bc7f35a7d8b6b5ed75e08e829aa6e763d3 SHA512 66a1ab0206aaa9933b2c64733632e7c397a57af59be4cf0b1280cc69dc485b73966dcbfbdb030c80a77038aa5de45ab17bc721a0b0fc1cdde24a3dd3521fe089 WHIRLPOOL e6db94eccc6bb3dd82f43c795112dc3242bd7a3f7a61f51dc32b91eb100f5e761c8b537ebcbeae95fb5b8976120dd5a1d5b22012aeade9bbb78b4369df841b5f
+EBUILD underscore-1.4.4.ebuild 807 SHA256 49d383e76af5e4ce07c1fef632ea23fbe7a5c7b85da5ad4f6fee82d82dec1ef7 SHA512 c58f3969632d5b93811612c0a6e078a921f821ee9357b09261db2fd6a69514ee42a74f9f6996877f232913762d9d517b2e0c59b64e6fc0b5d0d0a77b91409d61 WHIRLPOOL 50d61fe903b38407aa77598c8db9cb6da091f7791f82ae31d1a534b7f957259e90656828bbfe22125addbb61f65482f24249be5188df9ec640d189c1a96bbfd9

diff --git a/dev-nodejs/underscore/underscore-1.4.4.ebuild b/dev-nodejs/underscore/underscore-1.4.4.ebuild
new file mode 100644
index 0000000..4414446
--- /dev/null
+++ b/dev-nodejs/underscore/underscore-1.4.4.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="JavaScript's functional programming helper library."
+HOMEPAGE="https://npmjs.org/package/underscore"
+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* LICENSE CNAME CONTRIBUTING* favicon.ico index*
+}


^ 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/underscore/ Jesus Rivero

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