diff options
author | 2013-05-13 17:33:46 -0400 | |
---|---|---|
committer | 2013-05-13 17:33:46 -0400 | |
commit | b08e0e49e4a49dd97f9fdcff67a4e6c698a0d838 (patch) | |
tree | a719a796bb9e3ab7e78f8aab59621e74ee52f147 | |
parent | dev-nodejs/resolve: Initial commit (diff) | |
download | neurogeek-b08e0e49e4a49dd97f9fdcff67a4e6c698a0d838.tar.gz neurogeek-b08e0e49e4a49dd97f9fdcff67a4e6c698a0d838.tar.bz2 neurogeek-b08e0e49e4a49dd97f9fdcff67a4e6c698a0d838.zip |
dev-nodejs/grunt-cli: Initial commit
-rw-r--r-- | dev-nodejs/grunt-cli/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-nodejs/grunt-cli/Manifest b/dev-nodejs/grunt-cli/Manifest new file mode 100644 index 0000000..b1a4c25 --- /dev/null +++ b/dev-nodejs/grunt-cli/Manifest @@ -0,0 +1,2 @@ +DIST grunt-cli-0.1.8.tgz 4300 SHA256 74daebc93040604f151b8567fd95c14497b8fa9a260148566d89dd141810144d SHA512 970c3874b226531f1faaafc6a48c07f2e0126208b607b62e6bd8f070754581f872b7b391b5d5124f23b63341b65c34ee63ed8989fd7f8c78f11855bf13a98f7d WHIRLPOOL 1ed7014e2d460f14c20bce99a610874af92b1f28469fafa8e7d582b0eff0e93cedf40bef4e067650838c87561d872c12f388132ebf8553f4cc02f86aa370b3f2 +EBUILD grunt-cli-0.1.8.ebuild 883 SHA256 02065b45f4b10d4c3502c55beee1ee39d7642d95cea9e45dfdf4ebfe51c7433c SHA512 58fe5362d40b86334e2af3191db26884d4675b1bf225406e3c768565fb1f8854991e37f406e5550a8d4da45170771684270a6c45ad623a5496c213b5d5caff51 WHIRLPOOL 47f89689505a7c82f41ce4e3fa753cfb6e9ee4f1d769edfe2b7acf684facf32aac549c3ac4b433ad525f31c4ca0ea3ed453ec8e4da215102b072869b048249c8 diff --git a/dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild b/dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild new file mode 100644 index 0000000..845df6b --- /dev/null +++ b/dev-nodejs/grunt-cli/grunt-cli-0.1.8.ebuild @@ -0,0 +1,42 @@ +# 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="The Grunt command line interface." +HOMEPAGE="https://npmjs.org/package/grunt-cli" +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/nopt-2.1.1 + >=dev-nodejs/findup-sync-0.1.2 + >=dev-nodejs/resolve-0.3.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}/{completion,Gruntfile.js,lib,package.json} ${node_modules} + + dobin bin/* + dodoc AUTHORS README* LICENSE-MIT +} |