diff options
author | 2013-05-07 15:53:54 -0400 | |
---|---|---|
committer | 2013-05-07 15:53:54 -0400 | |
commit | ac45b350b03f8a4d9fe847712f252a03654464a0 (patch) | |
tree | 92d9ea228c2855428925ea765215299e3a48a0a6 | |
parent | dev-nodejs/hyperquest: Initial commit (diff) | |
download | neurogeek-ac45b350b03f8a4d9fe847712f252a03654464a0.tar.gz neurogeek-ac45b350b03f8a4d9fe847712f252a03654464a0.tar.bz2 neurogeek-ac45b350b03f8a4d9fe847712f252a03654464a0.zip |
dev-nodejs/getit: Initial commit
-rw-r--r-- | dev-nodejs/getit/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/getit/getit-0.3.1.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-nodejs/getit/Manifest b/dev-nodejs/getit/Manifest new file mode 100644 index 0000000..882cc66 --- /dev/null +++ b/dev-nodejs/getit/Manifest @@ -0,0 +1,2 @@ +DIST getit-0.3.1.tgz 6208 SHA256 9c7740b73dc5b1bf1b29b6612eb6a55c5e93028d32ccaede25d96c695626fa17 SHA512 70c48387f79202c15d6388c6bda41684ef3935571e1e8c9fc9910cbe4eb9b91756ce0d53a0ef095f171bdd96c09c19c9023c49649113da0c2594d0f25556c196 WHIRLPOOL d8793693ab82f0f474c348086f88d8eec7e0a2c797bb1305c0d45e3afa9c7583e88e15a32c6b173b08e37b9bf5e63bf9346b8d9cf221f79989093b16077aaf91 +EBUILD getit-0.3.1.ebuild 856 SHA256 82fc95648a86c95193f4da118104621b2c7c781267d036b2b21c0bd6652175e0 SHA512 92f67e0c8a244dc5e3ad6c85d6ee136a44357ed85ac5afab2c9b0657c5ee88e6a9c59f2e4b710a7baec817023d18b92109ac9630d2260ce9167b188cf6163248 WHIRLPOOL c235cd00bfda8d4682e795621408497892834824d8819ad2f81c45021076a867079faeaa92a4b4fd6fd4399d6da6af0c001f036e8864be540f5c29867b62d74d diff --git a/dev-nodejs/getit/getit-0.3.1.ebuild b/dev-nodejs/getit/getit-0.3.1.ebuild new file mode 100644 index 0000000..20632c8 --- /dev/null +++ b/dev-nodejs/getit/getit-0.3.1.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="Retrieve local and remote files through a simple interface." +HOMEPAGE="https://npmjs.org/package/getit" +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/debug-0.7.2 + >=dev-nodejs/hyperquest-0.1.5 + >=dev-nodejs/mkdirp-0.3.5 + ${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,lib,package.json} ${node_modules} + + dodoc README* +} |