summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <jesus.riveroa@gmail.com>2013-05-07 23:03:43 -0400
committerJesus Rivero <jesus.riveroa@gmail.com>2013-05-07 23:03:43 -0400
commitc4103dd141c83581f142d1a596cd0f6bed5f6edb (patch)
tree904030ad59a625ec4d2e974901608decfbdd81fc
parentdev-nodejs/grunt-rigger: Initial commit (diff)
downloadneurogeek-c4103dd141c83581f142d1a596cd0f6bed5f6edb.tar.gz
neurogeek-c4103dd141c83581f142d1a596cd0f6bed5f6edb.tar.bz2
neurogeek-c4103dd141c83581f142d1a596cd0f6bed5f6edb.zip
dev-nodejs/archy: Initial commit
-rw-r--r--dev-nodejs/archy/Manifest2
-rw-r--r--dev-nodejs/archy/archy-0.0.2.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-nodejs/archy/Manifest b/dev-nodejs/archy/Manifest
new file mode 100644
index 0000000..2ebc6a3
--- /dev/null
+++ b/dev-nodejs/archy/Manifest
@@ -0,0 +1,2 @@
+DIST archy-0.0.2.tgz 2236 SHA256 355bafab4acbb86e4e94c00c55900215abe41ae72ab454be889c766e5889a6e5 SHA512 f2632c7ad8d7bf8a423d3acc6cf3ced9cc72f6fcc99f68f06ddfae83e99ff1f114646d84efc568e5eac9323ae71ae2d32aa38bb52e6e9451c949f835c9a0a3c4 WHIRLPOOL 95b923e8bbbab60bd8eba584cbf89f0cebf4522e22cb7bce26db2db312cec775c0084c1294f2b08ee9696c98de53ac4739e3ebe6df5018abc8052c24bbbb77c7
+EBUILD archy-0.0.2.ebuild 816 SHA256 c189ed699614c94e9d9b1f4c0790be8835b3121e2e92902bcb52b978916474e7 SHA512 3484fe5d815f6bd7b5f95d535fe27ad3d6f365a388dfea4f2fced8718ec839ea5e3dcb9957f6525a60830143e3599388c1a761f57b49b364ec18595047884ab9 WHIRLPOOL f66148fd22f57c7b68fbf2e9073964034ea7fd34135752b962784c131aba86a0becbd02e8820e3eb4a1690078c64534721cb89bab6f088e51bc68f862f01b252
diff --git a/dev-nodejs/archy/archy-0.0.2.ebuild b/dev-nodejs/archy/archy-0.0.2.ebuild
new file mode 100644
index 0000000..61b8487
--- /dev/null
+++ b/dev-nodejs/archy/archy-0.0.2.ebuild
@@ -0,0 +1,42 @@
+# 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="Render nested hierarchies 'npm ls' style with unicode pipes"
+HOMEPAGE="https://npmjs.org/package/archy"
+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}/{index.js,package.json} ${node_modules}
+
+ dodoc README*
+
+ if use example; then
+ dodoc -r examples
+ fi
+}