diff options
author | 2013-05-10 12:03:09 -0400 | |
---|---|---|
committer | 2013-05-10 12:03:09 -0400 | |
commit | e35d0fa9489498bea3c3c216b8ad9de5ddcaa221 (patch) | |
tree | e493d2aaf3c63491359fe8d4c9520ae2f90dfaaa | |
parent | dev-nodejs/ini: Initial commit (diff) | |
download | neurogeek-e35d0fa9489498bea3c3c216b8ad9de5ddcaa221.tar.gz neurogeek-e35d0fa9489498bea3c3c216b8ad9de5ddcaa221.tar.bz2 neurogeek-e35d0fa9489498bea3c3c216b8ad9de5ddcaa221.zip |
dev-nodejs/rc: Initial commit
-rw-r--r-- | dev-nodejs/rc/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/rc/rc-0.1.3.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-nodejs/rc/Manifest b/dev-nodejs/rc/Manifest new file mode 100644 index 0000000..b06fbca --- /dev/null +++ b/dev-nodejs/rc/Manifest @@ -0,0 +1,2 @@ +DIST rc-0.1.3.tgz 3889 SHA256 9733c6aba5d4661323b8610689f46858c609c4d3fb9fe862889fce9d4fde2b1c SHA512 5193c824644924fd531091fa34e2730ac3133fdbf99ccad8b9b2d89fd826c81d433cf355481188ef80e458bc318cd72a0c9eac1f9f6d27a5d2e21c38058c4d24 WHIRLPOOL d651313928132cddc4acca2c9a73502304dc456b1b9df7a430142c77a48ee0da27e9f7d64258bd2c352be71a06580e31dfb2411d4fab62288d978befda9dcb6d +EBUILD rc-0.1.3.ebuild 850 SHA256 e9a32fdfa16d0f84420298f54e9edfd333faa6ee308645699c15ec9f5b211a63 SHA512 87d373d90db2e5ab9877c3fbb48cdefe56dcdbc6b783b85a05f5fa28cd7b72beec04642c3fe93eeda8e853122dfad247fe9d54fb972d0a1077f511dd279d38bd WHIRLPOOL b831588c65aa3754dbb45881b8babd56eecbeacadbd10b9e59804f2d449104c948534590fa9899b123f3234e22737c441381d6d4309b7b40ad38c8dd33e4a1f6 diff --git a/dev-nodejs/rc/rc-0.1.3.ebuild b/dev-nodejs/rc/rc-0.1.3.ebuild new file mode 100644 index 0000000..794a4b4 --- /dev/null +++ b/dev-nodejs/rc/rc-0.1.3.ebuild @@ -0,0 +1,41 @@ +# 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="Hardwired configuration loader." +HOMEPAGE="https://npmjs.org/package/rc" +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/optimist-0.4.0 + >=dev-nodejs/deep-extend-0.2.5 + >=dev-nodejs/ini-1.1.0 + ${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}/{index.js,browser.js,lib,package.json} ${node_modules} + + dodoc README* LICENSE* +} |