diff options
author | 2013-05-06 18:43:28 -0400 | |
---|---|---|
committer | 2013-05-06 18:43:28 -0400 | |
commit | 9ca28e942b90d07a3bc5bfa0dbf99ba547b16743 (patch) | |
tree | 5b0379205049fa5311b8b421f698961c07ce2d48 | |
parent | dev-nodejs/tiny-lr: Initial commit (diff) | |
download | neurogeek-9ca28e942b90d07a3bc5bfa0dbf99ba547b16743.tar.gz neurogeek-9ca28e942b90d07a3bc5bfa0dbf99ba547b16743.tar.bz2 neurogeek-9ca28e942b90d07a3bc5bfa0dbf99ba547b16743.zip |
dev-nodejs/grunt-contrib-watch: Initial commit
-rw-r--r-- | dev-nodejs/grunt-contrib-watch/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/grunt-contrib-watch/grunt-contrib-watch-0.4.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-nodejs/grunt-contrib-watch/Manifest b/dev-nodejs/grunt-contrib-watch/Manifest new file mode 100644 index 0000000..f5a87c9 --- /dev/null +++ b/dev-nodejs/grunt-contrib-watch/Manifest @@ -0,0 +1,2 @@ +DIST grunt-contrib-watch-0.4.0.tgz 18605 SHA256 9e960f13590a0e2335f004de5c2c46ec2178dc769749b6da6d9ae807754c3f61 SHA512 4cb00ab478ac8f2c296e35392099e0effce5d6063e0dd8234f336897dc06fd58dc852cee13672a111571ea01e7975b7bfadf87a231f98292c1ae57bced43817b WHIRLPOOL efb9928e0eb9523f283940dd2ba4728d75debce57f54288f71e9fd3715125de8206d7c65abdc111ec667da34457c11302d7815f8c606b94479455a3527ba4832 +EBUILD grunt-contrib-watch-0.4.0.ebuild 982 SHA256 3f1cd9601f661c0ef67f08bfbce7acb35321e149d22d57998a6b28eb58339e43 SHA512 ba76cd3586961080bda639763fd600f5b8e6c5c7e5b51c5e50d6a446c3d4e56e7b2da39f6a39a079a96b824f99c9af7e0af3a6632ba0efa254b586066b8e2d08 WHIRLPOOL 9b3f437bc152b1cf21ef6771e1a1c331ea86ebadaae4cb9e21e634f279a7b4accb7069d6a24a8f652bc33893c9fac3d6c1a29db87873646f7f865510d35e1978 diff --git a/dev-nodejs/grunt-contrib-watch/grunt-contrib-watch-0.4.0.ebuild b/dev-nodejs/grunt-contrib-watch/grunt-contrib-watch-0.4.0.ebuild new file mode 100644 index 0000000..a3ae712 --- /dev/null +++ b/dev-nodejs/grunt-contrib-watch/grunt-contrib-watch-0.4.0.ebuild @@ -0,0 +1,46 @@ +# 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="Run predefined tasks whenever watched file patterns are added, +changed or deleted." +HOMEPAGE="https://npmjs.org/package/grunt-contrib-watch" +SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +DEPEND=">=net-libs/nodejs-0.8.10" +RDEPEND=">=dev-nodejs/grunt-0.4.1 + >=dev-nodejs/gaze-0.3.4 + >=dev-nodejs/tiny-lr-0.0.4 + ${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}/{package.json,tasks,Gruntfile.js} ${node_modules} + + dodoc README* LICENSE-MIT AUTHORS CHANGELOG CONTRIBUTING.md + + if use doc; then + dodoc -r docs + fi +} |