summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <jesus.riveroa@gmail.com>2013-05-06 16:37:02 -0400
committerJesus Rivero <jesus.riveroa@gmail.com>2013-05-06 16:37:02 -0400
commit12a87799db530e29e155887e2847f21cb382ae7b (patch)
tree0daca0c25db3131ea02e26aedfa83952056eb9b3 /dev-nodejs
parentdev-nodejs/fileset: Initial commit (diff)
downloadneurogeek-12a87799db530e29e155887e2847f21cb382ae7b.tar.gz
neurogeek-12a87799db530e29e155887e2847f21cb382ae7b.tar.bz2
neurogeek-12a87799db530e29e155887e2847f21cb382ae7b.zip
dev-nodejs/grunt-contrib-copy: Initial commit
Diffstat (limited to 'dev-nodejs')
-rw-r--r--dev-nodejs/grunt-contrib-copy/Manifest2
-rw-r--r--dev-nodejs/grunt-contrib-copy/grunt-contrib-copy-0.4.1.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-nodejs/grunt-contrib-copy/Manifest b/dev-nodejs/grunt-contrib-copy/Manifest
new file mode 100644
index 0000000..6c1f71a
--- /dev/null
+++ b/dev-nodejs/grunt-contrib-copy/Manifest
@@ -0,0 +1,2 @@
+DIST grunt-contrib-copy-0.4.1.tgz 5621 SHA256 49a1d2be823af748c4afae4c530828beaffe856f674ead397452db1d338b5331 SHA512 332ed1d618e457a93fe96164c0782e07fff2d64715eb95fd537ed79c0256c267c602ca005655c544d60dd16eb65b60f44db2d72d7db87e21f8ab5ff906e81ff8 WHIRLPOOL e778eda7a9cc4f610ad8da4cc1345181787a3a702468ae6129aa3a7b44c7c247380655b9dcd8f76ec62f53b613fec4261528fa09b905c4fe42993d0a3ade179b
+EBUILD grunt-contrib-copy-0.4.1.ebuild 867 SHA256 5b221b21839b8a0ad84f83d0b8a582b8fefba59a42b2be372ddf1251d62fec94 SHA512 ee2cf3bce1f951563626263e22db3213f9bf28ac84180b8b030ce5ed5f5e99274cdd2f481338d045880c982d19d63087ba49c716e2bf251134d9e9a1b8a27ea7 WHIRLPOOL 75ec2acd576371739193c94dfac2742038ee4aeebc52e3f2040e6e9a17513f5a80068ff33dc64caa41177d9c5b8e340ecbe375c1d9cce1e0ef6d73943b60cf52
diff --git a/dev-nodejs/grunt-contrib-copy/grunt-contrib-copy-0.4.1.ebuild b/dev-nodejs/grunt-contrib-copy/grunt-contrib-copy-0.4.1.ebuild
new file mode 100644
index 0000000..d684833
--- /dev/null
+++ b/dev-nodejs/grunt-contrib-copy/grunt-contrib-copy-0.4.1.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="Copy files and folders."
+HOMEPAGE="https://npmjs.org/package/grunt-contrib-copy"
+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
+ ${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
+}