summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <jesus.riveroa@gmail.com>2013-05-07 23:07:54 -0400
committerJesus Rivero <jesus.riveroa@gmail.com>2013-05-07 23:07:54 -0400
commit1b888d35e3f937bf5b7b3162c6ecb7fe7b9ff0ea (patch)
tree1a9afc09a9ab86be399248189467876c061f54fd
parentdev-nodejs/archy: Initial commit (diff)
downloadneurogeek-1b888d35e3f937bf5b7b3162c6ecb7fe7b9ff0ea.tar.gz
neurogeek-1b888d35e3f937bf5b7b3162c6ecb7fe7b9ff0ea.tar.bz2
neurogeek-1b888d35e3f937bf5b7b3162c6ecb7fe7b9ff0ea.zip
dev-nodejs/fstream: Initial commit
-rw-r--r--dev-nodejs/fstream/Manifest2
-rw-r--r--dev-nodejs/fstream/fstream-0.1.22.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-nodejs/fstream/Manifest b/dev-nodejs/fstream/Manifest
new file mode 100644
index 0000000..2cf48bd
--- /dev/null
+++ b/dev-nodejs/fstream/Manifest
@@ -0,0 +1,2 @@
+DIST fstream-0.1.22.tgz 17261 SHA256 2ace3993d34cbf5e97bcb9c7eec3f011fa2041ce66cb688e39e747285084496a SHA512 7899818263ca2c03ff8d66edc0aaaf2c0cb7710e1711b2b3276aa234d61913fdaf12494b20473522ebc0f88141ed6b84a1bbdda3e4f3af266aae3f3ba15964d5 WHIRLPOOL 67dfa8694c687f4f6d1bebef603910577ff0a3a519228e9c6455cda7a4e7ed311c52cfbede2de774ae52562679148fcc69ef633392b8525299385538fc5c0260
+EBUILD fstream-0.1.22.ebuild 929 SHA256 fb4db6e68626935f473ed1d98fdbabeefc323d851bccdba705288c22fb66d65e SHA512 0ece6b6910e8d9c2bc40de84e630d639cae60d100a99f411cff7fdb931a262e27d98a3b1f8add0d5c56280f05fa742164de697aa77e4d3bd0e264b6d65cdd91c WHIRLPOOL 24cc7d196a942b7b6739015c19526618fda9ea0e415516598cc640ffba3eb99124e9979554b7261d00dadd28bde3a2d1e6a5dbeed8f85a02f20a464a1bbb8972
diff --git a/dev-nodejs/fstream/fstream-0.1.22.ebuild b/dev-nodejs/fstream/fstream-0.1.22.ebuild
new file mode 100644
index 0000000..51afbe0
--- /dev/null
+++ b/dev-nodejs/fstream/fstream-0.1.22.ebuild
@@ -0,0 +1,46 @@
+# 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="Advanced file system stream things."
+HOMEPAGE="https://npmjs.org/package/fstream"
+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=">=dev-nodejs/graceful-fs-1.2.1
+ >=dev-nodejs/inherits-1.0.0
+ >=dev-nodejs/mkdirp-0.3.5
+ >=dev-nodejs/rimraf-2.1.4
+ ${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,lib,package.json} ${node_modules}
+
+ dodoc README* LICENSE
+
+ if use example; then
+ dodoc -r examples
+ fi
+}