From f9227bfaae33fccc004c09be0c9c39dc246f2f71 Mon Sep 17 00:00:00 2001 From: Jesus Rivero Date: Tue, 7 May 2013 12:09:03 -0400 Subject: dev-nodejs/hyperquest: Initial commit --- dev-nodejs/hyperquest/Manifest | 2 ++ dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild | 44 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-nodejs/hyperquest/Manifest create mode 100644 dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild diff --git a/dev-nodejs/hyperquest/Manifest b/dev-nodejs/hyperquest/Manifest new file mode 100644 index 0000000..00e9230 --- /dev/null +++ b/dev-nodejs/hyperquest/Manifest @@ -0,0 +1,2 @@ +DIST hyperquest-0.1.5.tgz 5996 SHA256 362a20cc5146e9e06f12beec65f4bd6c12444998ba646150d258dd5e57edb707 SHA512 55ccb4430a3286be0834db2c26d115fa62aebb0675d506c6b1002cd382eea16fbaa4eda0e25621e76340610677032023d204ef9eb59d2eb3fe6711b8f4188b05 WHIRLPOOL 5fb212b2f6544bc8920d40f67a5d1bb74c3b16cd11813f9b7325aa128ba2622942d632d808779668872f8e56274926f63deac55f7d39c4bd889995e83a92852c +EBUILD hyperquest-0.1.5.ebuild 859 SHA256 e6d13e19a1e187c1e1d745856ea481dddd8e92ff394ec021feeb565914a1520a SHA512 21fb3659b685729661603ce6627a24ce8590ec742c4a47c0ba5dac99ca1d4d26b6a77822e7d336a750696490088e528903d7e19a716ce13dcf545820220af659 WHIRLPOOL 6a17d45671060530cb30c020eebf86370069dec364ae2f395792e4bcb2cef0720c4ee7afb1c537fb59fa19fc03acd0608d87fc9c93371d15651ca304076d6619 diff --git a/dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild b/dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild new file mode 100644 index 0000000..1197e5a --- /dev/null +++ b/dev-nodejs/hyperquest/hyperquest-0.1.5.ebuild @@ -0,0 +1,44 @@ +# 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="Make streaming http requests." +HOMEPAGE="https://npmjs.org/package/hyperquest" +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/through-2.3.4 + >=dev-nodejs/duplexer-0.1.1 + ${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 + + if use example; then + dodoc -r example + fi +} -- cgit v1.2.3-65-gdbad