summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <jesus.riveroa@gmail.com>2013-05-16 15:17:42 -0400
committerJesus Rivero <jesus.riveroa@gmail.com>2013-05-16 15:17:42 -0400
commit699fdebc63991854d5e82df7baace7e793aa48a5 (patch)
tree5fda49139d18b368328e8fc3d8aaeb8ef90ece7e
parentdev-nodejs/js-yaml: Added index.js to install_dir (diff)
downloadneurogeek-699fdebc63991854d5e82df7baace7e793aa48a5.tar.gz
neurogeek-699fdebc63991854d5e82df7baace7e793aa48a5.tar.bz2
neurogeek-699fdebc63991854d5e82df7baace7e793aa48a5.zip
dev-nodejs/lodash: Added version 0.9.2
-rw-r--r--dev-nodejs/lodash/lodash-0.9.2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-nodejs/lodash/lodash-0.9.2.ebuild b/dev-nodejs/lodash/lodash-0.9.2.ebuild
new file mode 100644
index 0000000..9aee409
--- /dev/null
+++ b/dev-nodejs/lodash/lodash-0.9.2.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="A low-level utility library delivering consistency, customization,
+performace and extra features."
+HOMEPAGE="https://npmjs.org/package/lodash"
+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,vendor,package.json} ${node_modules}
+
+ dodoc README*
+}