diff options
author | Jesus Rivero <jesus.riveroa@gmail.com> | 2013-05-06 16:08:29 -0400 |
---|---|---|
committer | Jesus Rivero <jesus.riveroa@gmail.com> | 2013-05-06 16:08:29 -0400 |
commit | 6f5e118c90e58c52b9c5f2113a74906c96854031 (patch) | |
tree | 55359ac2ba190bd20083198a611d8d0ccfc6c76e /dev-nodejs | |
parent | dev-nodejs/package: Initial commit (diff) | |
download | neurogeek-6f5e118c90e58c52b9c5f2113a74906c96854031.tar.gz neurogeek-6f5e118c90e58c52b9c5f2113a74906c96854031.tar.bz2 neurogeek-6f5e118c90e58c52b9c5f2113a74906c96854031.zip |
dev-nodejs/temporary: Initial commit
Diffstat (limited to 'dev-nodejs')
-rw-r--r-- | dev-nodejs/temporary/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/temporary/temporary-0.0.5.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-nodejs/temporary/Manifest b/dev-nodejs/temporary/Manifest new file mode 100644 index 0000000..3c197e6 --- /dev/null +++ b/dev-nodejs/temporary/Manifest @@ -0,0 +1,2 @@ +DIST temporary-0.0.5.tgz 4901 SHA256 2e920c6b6b6e9e4ca9abdd47a5e6daad3665cb3ae41dd795bc4bff77e39effe5 SHA512 9a8b96181d352877fb7319d8b44d1f24f7833276f8170f3074ebf61946e8ce5c8305c9046576f79e2c6cb097d8d7db5a680121fa2887046d4e7ca2d4e19b56d0 WHIRLPOOL d488b3080e96a942f91c7da61d72aef3b2528911f7e7c45c79ce509314482201046679aabd2a2f9627fded67ed7ceaed310a8b9da54a2077a810752329513647 +EBUILD temporary-0.0.5.ebuild 840 SHA256 703bba0757ba3a5f49481f3f2a3178578d25f79e3faa73ab0e037e412e5ff34b SHA512 50f03c668c4b493ecaa86f966889d935d0d81493ce3fba5be3eb168038ac1d92ac0d8c6af863d3689bb10e9ee56ba0675b208739599037592f47b334ff5b1828 WHIRLPOOL 42f8ea20fd948bca67deecb6a180f949b1330a2914ce995aab760ee004db8754f4937a224869c7399dee3fc787344a26f8ef9748e5a1a512eeb53d2c7e5f696e diff --git a/dev-nodejs/temporary/temporary-0.0.5.ebuild b/dev-nodejs/temporary/temporary-0.0.5.ebuild new file mode 100644 index 0000000..b7784f2 --- /dev/null +++ b/dev-nodejs/temporary/temporary-0.0.5.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="The lord of tmp." +HOMEPAGE="https://npmjs.org/package/temporary" +SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="example" + +DEPEND=">=net-libs/nodejs-0.8.10" +RDEPEND=">=dev-nodejs/package-1.0.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}/{dir.js,file.js,lib,package.json} ${node_modules} + + dodoc Readme* History.md index.js + + if use example; then + dodoc -r examples + fi +} |