From dd0504fcb739d0b520bb595535b464c9c0cc9a7a Mon Sep 17 00:00:00 2001 From: Jesus Rivero Date: Tue, 7 May 2013 16:09:17 -0400 Subject: dev-nodejs/rigger: Initial commit --- dev-nodejs/rigger/Manifest | 2 ++ dev-nodejs/rigger/rigger-0.5.4.ebuild | 44 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-nodejs/rigger/Manifest create mode 100644 dev-nodejs/rigger/rigger-0.5.4.ebuild diff --git a/dev-nodejs/rigger/Manifest b/dev-nodejs/rigger/Manifest new file mode 100644 index 0000000..5102ff5 --- /dev/null +++ b/dev-nodejs/rigger/Manifest @@ -0,0 +1,2 @@ +DIST rigger-0.5.4.tgz 1310827 SHA256 03dec8f954f9a834826948d8fbbb13c3bc42dbc7e4106a2f457c35c9a41a52f7 SHA512 b763e77d9f01a5f5b8bbc1909e455dacd38da074ff654e2f6acf67c4c229a5a80db15829aa9be3dc0a6c71b89d5455ae873e97121a878b82c2210b48d7065cd7 WHIRLPOOL e0150270ef30346801cc6212ce394ad979b769c9e4f845d54b211be28acdf97816001605403f21ec65baf6b1b65f06a43ebecd3de3b36239fc396634ec41b650 +EBUILD rigger-0.5.4.ebuild 950 SHA256 3276804f9515b0af216d26b3a20ac4c68362849374f7cb3abf4e074d3db384fa SHA512 034d850a9fdced759a0ba39782d7fe4431d67d83d08373c686ca8853ebe395b25e991b0da9c6cfb14b6dd114c3a3035a0eb0245746ee6cc40d9efc975cb1ddff WHIRLPOOL 730db31c66a84beec28d24ac798991281552b55292e755eab318bc7e994dab48983985388f2bb4d16c331baa4521575068cbf4a3496cd9dba112eaf581399401 diff --git a/dev-nodejs/rigger/rigger-0.5.4.ebuild b/dev-nodejs/rigger/rigger-0.5.4.ebuild new file mode 100644 index 0000000..1da2e34 --- /dev/null +++ b/dev-nodejs/rigger/rigger-0.5.4.ebuild @@ -0,0 +1,44 @@ +# 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="Javascript file parser and include engine." +HOMEPAGE="https://npmjs.org/package/rigger" +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/async-0.2.7 + >=dev-nodejs/buildjs_core-0.1.0 + >=dev-nodejs/debug-0.7.2 + >=dev-nodejs/getit-0.3.1 + >=dev-nodejs/underscore-1.4.4 + ${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}/{build.js,converters,directives,index.js,plugins,package.json} ${node_modules} + + dobin bin/* + dodoc README* +} -- cgit v1.2.3-65-gdbad