summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <jesus.riveroa@gmail.com>2013-05-06 18:38:51 -0400
committerJesus Rivero <jesus.riveroa@gmail.com>2013-05-06 18:38:51 -0400
commitba6ff7610619ba440df3e4ddfafcff1132e4466e (patch)
tree5a462c8e84e7c6c24269edd94ccd4560ae733c22
parentdev-nodejs/debug: Initial commit (diff)
downloadneurogeek-ba6ff7610619ba440df3e4ddfafcff1132e4466e.tar.gz
neurogeek-ba6ff7610619ba440df3e4ddfafcff1132e4466e.tar.bz2
neurogeek-ba6ff7610619ba440df3e4ddfafcff1132e4466e.zip
dev-nodejs/tiny-lr: Initial commit
-rw-r--r--dev-nodejs/tiny-lr/Manifest2
-rw-r--r--dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-nodejs/tiny-lr/Manifest b/dev-nodejs/tiny-lr/Manifest
new file mode 100644
index 0000000..df248f5
--- /dev/null
+++ b/dev-nodejs/tiny-lr/Manifest
@@ -0,0 +1,2 @@
+DIST tiny-lr-0.0.4.tgz 17519 SHA256 6cf2f1ca05fe585b0a53df790e4113faf73acab92b8d03e35d2f58bc6dffb8bd SHA512 2350b0b4b4b0ed596a9a1ad99727a279f1893362b234e11fcca1dd1a74bfec92736030cc9147e571151727e78012907a49d1ef8e4fe2f437d3ff888e2e6c79c6 WHIRLPOOL f7f83b6d4cef5eddab37a396a161901a28871c9ba99f21180fb3989d6e5be8382faf8dc3345a5338167be535e34b28514e96bd6a2f43f07cb2254c0035de0c70
+EBUILD tiny-lr-0.0.4.ebuild 883 SHA256 c411fbb7deeca41994beb3f58142fdb83122ffe05c1071b62dfa072f19b7ba0e SHA512 8407ca84430a5a53d24de9d2bfd7ae7a2d4490b2f38192de10e2afefde948247909312abe884734eae268e0aa04b9c43f55dd19b3b8b0241cd08f2e90de6e923 WHIRLPOOL 173e86a93df85e3297bdd569e59e6f9bc9f377867f37314e55ab912e5f3d8ec8a58444cdf43df5bb0f612a20e86068aebf09132a29a1be9a89a3c7d00def3893
diff --git a/dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild b/dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild
new file mode 100644
index 0000000..e88a1a8
--- /dev/null
+++ b/dev-nodejs/tiny-lr/tiny-lr-0.0.4.ebuild
@@ -0,0 +1,43 @@
+# 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="Tiny LiveReload server, background-friendly."
+HOMEPAGE="https://npmjs.org/package/tiny-lr"
+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=">=dev-nodejs/qs-0.6.3
+ >=dev-nodejs/faye-websocket-0.5.0
+ >=dev-nodejs/noptify-0.0.3
+ >=dev-nodejs/debug-0.7.2
+ ${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}/{lib,package.json,tasks} ${node_modules}
+
+ dobin bin/*
+ dodoc readme*
+}