diff options
author | 2013-05-05 23:16:02 -0400 | |
---|---|---|
committer | 2013-05-05 23:16:02 -0400 | |
commit | e6f2c84ec5ae39b5eb6ed29adf10388c5aeee262 (patch) | |
tree | da5cb9f468a48a3288bb5ba9a393149eb0dc5fa7 | |
parent | Initial commit (diff) | |
download | neurogeek-e6f2c84ec5ae39b5eb6ed29adf10388c5aeee262.tar.gz neurogeek-e6f2c84ec5ae39b5eb6ed29adf10388c5aeee262.tar.bz2 neurogeek-e6f2c84ec5ae39b5eb6ed29adf10388c5aeee262.zip |
Initial commit
-rw-r--r-- | dev-nodejs/lru-cache/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/lru-cache/Manifest b/dev-nodejs/lru-cache/Manifest new file mode 100644 index 0000000..a8325cb --- /dev/null +++ b/dev-nodejs/lru-cache/Manifest @@ -0,0 +1,2 @@ +DIST lru-cache-2.3.0.tgz 6617 SHA256 fbb1a14e0314095b7999a3a7489c92983f3d95b188857af697487ac8a778e942 SHA512 5f204260bd244d92cd2058f8f260147b54343d32ec3a51f8724dd884733e67601a8bc6842e7e9ba9cf887a1e20a5a37776276eab9034e9668dcf642afbc46e30 WHIRLPOOL 29366c676975865295ca40bce37c0ef5a269995d6cf48d1d78c682a86f37b2237080f79019b0765173299b504456ba6e534217b6de82a9d71636bbc6b09fce1a +EBUILD lru-cache-2.3.0.ebuild 779 SHA256 dae657d36b51a1eb567ff67f9a93ff0e10f14df86b784deb2bc855258589ca96 SHA512 e6f30b86faf680b48e32c74fae1dd7101a52631bab841d9c337b09aef45c757f1415871fa09eb607f098bf2faea540bce0ee9c5ece3fde14be3722ad0686aac1 WHIRLPOOL f9cd0f1ffbb973a9e4d1f2758e9fe9611ba646fe2e066f127996c5e69020d5f45f20cf023cd556c4c0c889d5fd94cc6698c7b98e0f79ef112fe23afcdd976fc1 diff --git a/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild b/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild new file mode 100644 index 0000000..77e0815 --- /dev/null +++ b/dev-nodejs/lru-cache/lru-cache-2.3.0.ebuild @@ -0,0 +1,38 @@ +# 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="Higher-order functions and common patterns for asynchronous code" +HOMEPAGE="https://npmjs.org/package/lru-cache" +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="${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}/{s.js,lib,package.json} ${node_modules} + + dodoc README* LICENSE +} |