diff options
author | 2013-05-07 12:04:05 -0400 | |
---|---|---|
committer | 2013-05-07 12:04:05 -0400 | |
commit | 023a79ddfa7b9e7cb0a7b4929c03fb56e910bd52 (patch) | |
tree | 7036f82202f04aec5acd253189f4be605f89d9e9 | |
parent | dev-nodejs/through: Initial commit (diff) | |
download | neurogeek-023a79ddfa7b9e7cb0a7b4929c03fb56e910bd52.tar.gz neurogeek-023a79ddfa7b9e7cb0a7b4929c03fb56e910bd52.tar.bz2 neurogeek-023a79ddfa7b9e7cb0a7b4929c03fb56e910bd52.zip |
dev-nodejs/duplexer: Initial commit
-rw-r--r-- | dev-nodejs/duplexer/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/duplexer/duplexer-0.1.1.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/duplexer/Manifest b/dev-nodejs/duplexer/Manifest new file mode 100644 index 0000000..30d5112 --- /dev/null +++ b/dev-nodejs/duplexer/Manifest @@ -0,0 +1,2 @@ +DIST duplexer-0.1.1.tgz 2570 SHA256 e970de93b55944f514569a97b5d134163db45fee7814315ff4ce9fa2f0a6312e SHA512 b31359fa58f2f9103599a5e851179ea81069042e912ca9a0e5ec3357ec7e99211399636829d64deaf7108e915139e9b36b6de1185b2426d14da14594690f91e1 WHIRLPOOL a21a38dce94a6c09eddf1c1da67004711cbb08957c2eb12cc5d348ea211dce11100c9ac4dd6be37305697ef685673c03d6bfaedff7914ccd589dee9dea8bdf8e +EBUILD duplexer-0.1.1.ebuild 737 SHA256 c00a31989594631fd6b47f7b340851f621b784075769a1d059d6a75e6a59a977 SHA512 55549e8778e65f358e05dffe53a34b533de206fc81dd088ed1ce95d229057b93785e8f345449caa5cc2f35c674396b4e178e6ddaea1bcf5f81efcb32d24269cd WHIRLPOOL 8e652b7a556196c903f459597e02ec865bc74bf100590158e7c611572f382a25934c8d03315f837dc03d5eba03745ff8bd12d57d686239b946398b10bf0482ba diff --git a/dev-nodejs/duplexer/duplexer-0.1.1.ebuild b/dev-nodejs/duplexer/duplexer-0.1.1.ebuild new file mode 100644 index 0000000..c83a66c --- /dev/null +++ b/dev-nodejs/duplexer/duplexer-0.1.1.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="Creates a duplex stream." +HOMEPAGE="https://npmjs.org/package/duplexer" +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* LICEN* +} |