diff options
author | Jesus Rivero <jesus.riveroa@gmail.com> | 2013-05-06 14:34:55 -0400 |
---|---|---|
committer | Jesus Rivero <jesus.riveroa@gmail.com> | 2013-05-06 14:34:55 -0400 |
commit | ab308a6a2a2016839a84d8c5840f49eaa845650f (patch) | |
tree | 0ac67addc41f360ee053309f5e5772e4503081ad /dev-nodejs | |
parent | dev-nodejs/nopt: Initial commit (diff) | |
download | neurogeek-ab308a6a2a2016839a84d8c5840f49eaa845650f.tar.gz neurogeek-ab308a6a2a2016839a84d8c5840f49eaa845650f.tar.bz2 neurogeek-ab308a6a2a2016839a84d8c5840f49eaa845650f.zip |
dev-nodejs/rimraf: Initial commit
Diffstat (limited to 'dev-nodejs')
-rw-r--r-- | dev-nodejs/rimraf/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/rimraf/rimraf-2.1.4.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-nodejs/rimraf/Manifest b/dev-nodejs/rimraf/Manifest new file mode 100644 index 0000000..5caaedd --- /dev/null +++ b/dev-nodejs/rimraf/Manifest @@ -0,0 +1,2 @@ +DIST rimraf-2.1.4.tgz 3301 SHA256 093154365aab3c09aea8e83dda7c5a7fd785c787ebbf1fcdc415cb5f74d1acac SHA512 b73c265f5e98421705bb44ff9b480705c14ac7ac90020efb67a596690489b147a45d86bac9a0261e1ac37661627206ae5ff7abec6b1d37ebd16a8de606103891 WHIRLPOOL f619d6fde484d2a96ae5e512bc35c2ea1f716893da403c6f7adfb21a7a6cd92aa12a4a74e126366e304b78f2bccf4f884fd4416308cfeb254a9eb368151252b7 +EBUILD rimraf-2.1.4.ebuild 802 SHA256 4471e38abb359e2607ed7597d2d94bdd1090d4199cb4172e0c04e438212b0141 SHA512 db45fb403635c68b03e086ceb23c984e3e27ffc108502e201674113d3b766e3cc037a1bcb1132a7d6ad815fda479b18fd5acfb5cb91f2f95bc4947b148be7bc6 WHIRLPOOL a20515098340a4961667b55d074365e095b10d3e2c49a3bf18a4d22079911646c9823fb2a063d8ef9b61f000d3b16dbb3d11bb52c690c2a9a30592d74c7b0c4d diff --git a/dev-nodejs/rimraf/rimraf-2.1.4.ebuild b/dev-nodejs/rimraf/rimraf-2.1.4.ebuild new file mode 100644 index 0000000..d68dfc3 --- /dev/null +++ b/dev-nodejs/rimraf/rimraf-2.1.4.ebuild @@ -0,0 +1,39 @@ +# 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="A deep deletion module for node (like 'rm -rf')." +HOMEPAGE="https://npmjs.org/package/rimraf" +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/graceful-fs-1.2.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}/{${PN}.js,package.json} ${node_modules} + + dodoc README* LICENSE AUTHORS +} |