diff options
author | Jesus Rivero <jesus.riveroa@gmail.com> | 2013-05-05 23:58:42 -0400 |
---|---|---|
committer | Jesus Rivero <jesus.riveroa@gmail.com> | 2013-05-05 23:58:42 -0400 |
commit | f2d451f697ebf1038ff13c7f56e674452da5896d (patch) | |
tree | 84201c640eed68439effa78a7bd6c3618bc8c531 /dev-nodejs | |
parent | dev-nodejs/minimatch: Fixed RDEPEND (diff) | |
download | neurogeek-f2d451f697ebf1038ff13c7f56e674452da5896d.tar.gz neurogeek-f2d451f697ebf1038ff13c7f56e674452da5896d.tar.bz2 neurogeek-f2d451f697ebf1038ff13c7f56e674452da5896d.zip |
dev-nodejs/inherits: Initial commit
Diffstat (limited to 'dev-nodejs')
-rw-r--r-- | dev-nodejs/inherits/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/inherits/inherits-1.0.0.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/inherits/Manifest b/dev-nodejs/inherits/Manifest new file mode 100644 index 0000000..355c1ee --- /dev/null +++ b/dev-nodejs/inherits/Manifest @@ -0,0 +1,2 @@ +DIST inherits-1.0.0.tgz 1042 SHA256 2be196fa6bc6a0c65fecd737af457589ef88b22a95d5dc31aab01d92ace48186 SHA512 e4a7d71128c201f1507a5d932ea86bd7c344cfef948965480348f01f3b3629bbdbddefabf86fde56145fa196da3c22f43e7111bcae5878c821d363b879e9ee7f WHIRLPOOL b15a77bd10312572f53fd07719c92fe8fa371bd05a5167ec284bb85c8558f2710aed5ecefbcd85f0c10c41c2bbf6ba7fb05615a0b49b5908b97de53ebe6908e7 +EBUILD inherits-1.0.0.ebuild 770 SHA256 d4e75ec617391d9a040888f1c94927a4ddbfd437a94a4c1beda3074edeb2fa8b SHA512 fe19fbea5ea9d4982d474742999ecd24298c60686bc6b18b083a76d1d2466fa36b3b01a84a5e85117565864d7ba08926c8648c506c6a917ce32578619d67542d WHIRLPOOL 6e98c62885347435ed813911a15bac60b355c18a943b460fa1123dede63008be8c846298927532eb71529916f26174fd470e5a7bc1f22744b2ffc6ef62ce155d diff --git a/dev-nodejs/inherits/inherits-1.0.0.ebuild b/dev-nodejs/inherits/inherits-1.0.0.ebuild new file mode 100644 index 0000000..4d88f1f --- /dev/null +++ b/dev-nodejs/inherits/inherits-1.0.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="A tiny simple way to do classic inheritance in js" +HOMEPAGE="https://npmjs.org/package/inherits" +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}/{${PN}.js,package.json} ${node_modules} + + dodoc README* +} |