summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-nodejs/through/Manifest2
-rw-r--r--dev-nodejs/through/through-2.3.4.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/through/Manifest b/dev-nodejs/through/Manifest
new file mode 100644
index 0000000..e351b7e
--- /dev/null
+++ b/dev-nodejs/through/Manifest
@@ -0,0 +1,2 @@
+DIST through-2.3.4.tgz 4156 SHA256 a73f41c6cac9d9788a40b49ee0bf43170b8ec394035282ea951f6033c3aac425 SHA512 0f06e648070006c31accd90b3892522d10b781f87870fc54c490a7f67a66bdb708eae9dd860a09d9286f10e819ad6f011fad86cabf6329ba066df15c998e55b1 WHIRLPOOL dc5862ec4936db675f663b7383f3ecc9a03781e60cf07567d5bee8d0f2d42003c721651aaa965a2f5d1f1af8763e35bd85a1e07680862f519bc8f24202feefb7
+EBUILD through-2.3.4.ebuild 745 SHA256 90b269fc9bfd249e18e38848a85ba2bfe804196486a5c0399babee3057e19312 SHA512 dad108667eeec7e11294cb3a0ab9f7870af1f690bbfd9271fb6fcd79e3a7d3164441c5860d02e72029ef612efc92655b9063b179f89df80f1448335223eebd36 WHIRLPOOL de6e7ac841daab6e61a32a21761117110c21188f702784d41ffce7fa4edae3108d86253acbb5f85a8a5983824476a27ee9ccd2bb99e4d4aceee35704df9f5ae7
diff --git a/dev-nodejs/through/through-2.3.4.ebuild b/dev-nodejs/through/through-2.3.4.ebuild
new file mode 100644
index 0000000..dab1a14
--- /dev/null
+++ b/dev-nodejs/through/through-2.3.4.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="Simplified stream contsruction."
+HOMEPAGE="https://npmjs.org/package/through"
+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* LICENSE*
+}