diff options
author | 2013-05-09 10:14:20 -0400 | |
---|---|---|
committer | 2013-05-09 10:14:20 -0400 | |
commit | 789956ea376cb3e8aefa7943d18b0beac517440d (patch) | |
tree | 28ecc956d8401b84a7350a809780d2a46d008ff1 | |
parent | dev-nodejs/hogan_js: Initial commit (diff) | |
download | neurogeek-789956ea376cb3e8aefa7943d18b0beac517440d.tar.gz neurogeek-789956ea376cb3e8aefa7943d18b0beac517440d.tar.bz2 neurogeek-789956ea376cb3e8aefa7943d18b0beac517440d.zip |
dev-nodejs/mute-stream: Initial commit
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | dev-nodejs/mute-stream/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/mute-stream/mute-stream-0.0.3.ebuild | 38 |
3 files changed, 41 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ab1a32b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +README* diff --git a/dev-nodejs/mute-stream/Manifest b/dev-nodejs/mute-stream/Manifest new file mode 100644 index 0000000..3362fae --- /dev/null +++ b/dev-nodejs/mute-stream/Manifest @@ -0,0 +1,2 @@ +DIST mute-stream-0.0.3.tgz 3308 SHA256 7bb2401ad9afaa6f04bc1d2d9411a6e41d7a6198de929d4522e95eeae78b1082 SHA512 c8d443657c5b944a0ef522841263c1d1ec19a62cc124c729ba3ccf234bc815eb02f21ca4e50a5b2328dc6f2ebcd3873b715b9d75c3712da6090d037f83bb1151 WHIRLPOOL 4b077e9e52c7a22b8a238b74956ba8837b7818842491a98e2459acd6120e2d8f33e5012aa4ed67365bbcac4dd54b6b55a9d5b896b36798a9687e6b4b172e9a1f +EBUILD mute-stream-0.0.3.ebuild 776 SHA256 1349a64809bb678aa7b5d5bd2ce05fc9d9e28235d4f7441fb80abe8e57543c53 SHA512 b37fffb21297829bb30357a73f315292cecad807bccc618fa01ef6cc12253a07d839e6d3332f0108cb5067678177ce7feebd48cba24c2eb54f9bbff9d5232c49 WHIRLPOOL 5f53d2ce41d733f2026db1856a9c15b2674929b6632e73a87b05d7f4e65049459947a062263efe8351603c976af26cfeb1bc88d4fb07c578f88575ca30d8bb57 diff --git a/dev-nodejs/mute-stream/mute-stream-0.0.3.ebuild b/dev-nodejs/mute-stream/mute-stream-0.0.3.ebuild new file mode 100644 index 0000000..5e74fc6 --- /dev/null +++ b/dev-nodejs/mute-stream/mute-stream-0.0.3.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="Bytes go in, but they don't come out (when muted)." +HOMEPAGE="https://npmjs.org/package/mute-stream" +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/-stream/}.js,package.json} ${node_modules} + + dodoc README* LICENSE +} |