summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <jesus.riveroa@gmail.com>2013-05-10 11:07:00 -0400
committerJesus Rivero <jesus.riveroa@gmail.com>2013-05-10 11:07:00 -0400
commit3768733e8cd93820a0f5b71c4ddc5ac24bf04bfc (patch)
tree7d11063d5f2f366b5fa2c492cc9c722f3e8bd788
parentdev-nodejs/optimist. Added missing DEPEND (diff)
downloadneurogeek-3768733e8cd93820a0f5b71c4ddc5ac24bf04bfc.tar.gz
neurogeek-3768733e8cd93820a0f5b71c4ddc5ac24bf04bfc.tar.bz2
neurogeek-3768733e8cd93820a0f5b71c4ddc5ac24bf04bfc.zip
dev-nodejs/deep-extend: Initial commit
-rw-r--r--dev-nodejs/deep-extend/Manifest2
-rw-r--r--dev-nodejs/deep-extend/deep-extend-0.2.5.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/deep-extend/Manifest b/dev-nodejs/deep-extend/Manifest
new file mode 100644
index 0000000..6fe6767
--- /dev/null
+++ b/dev-nodejs/deep-extend/Manifest
@@ -0,0 +1,2 @@
+DIST deep-extend-0.2.5.tgz 1251 SHA256 9a30cd116191735d0ec1aa943de79951bca1d9068ea7a5a548c67e54b16d9aa6 SHA512 7837c2201e3e4bad2b2d816a140ad243cb23ba8a38a8a6dc44fb89b6ed538bb0ed6173a688f421710c32e8becadfb72d234f6d0e4a3d0ab778d00e894e75f19a WHIRLPOOL 92ce09e9da767c79ae11bdacfef708372c9c024650053202d3440e060a740bf0440eb0f755ab72b2595822e6ab1d1aac06560787ba89cff9ae024b10a589076c
+EBUILD deep-extend-0.2.5.ebuild 736 SHA256 9dcb98530ac605ab1575f2d151699f2d04010139485fae79808a7a8e395adf9e SHA512 8f0ba2241b296abef59bd6457a394928f6de29111a392e49a2be8f95a268d4a517e4bd233f6cf67c2a7d7486db76380420df6e2017736d55d87849d71d56d0bd WHIRLPOOL deb873bf56c5769b5fb85b3349c44d15089889010603b55a84ecc2335f3c73f5c73227eb42939dc89f148972e4b28fa8cb96e2be6ac92cbab23e118876f93ae7
diff --git a/dev-nodejs/deep-extend/deep-extend-0.2.5.ebuild b/dev-nodejs/deep-extend/deep-extend-0.2.5.ebuild
new file mode 100644
index 0000000..0b674cc
--- /dev/null
+++ b/dev-nodejs/deep-extend/deep-extend-0.2.5.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="Recursive object extending."
+HOMEPAGE="https://npmjs.org/package/deep-extend"
+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}/{index.js,package.json} ${node_modules}
+
+ dodoc README*
+}