diff options
Diffstat (limited to 'dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild')
-rw-r--r-- | dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild | 32 |
1 files changed, 7 insertions, 25 deletions
diff --git a/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild b/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild index fcfcdb5..7567b86 100644 --- a/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild +++ b/dev-nodejs/grunt-rigger/grunt-rigger-0.4.0.ebuild @@ -3,38 +3,20 @@ # $Header: $ EAPI=4 -NODEJS_MODULE=${PN} -inherit multilib +inherit npm DESCRIPTION="Rigging tasks for elegant includes." -HOMEPAGE="https://npmjs.org/package/grunt-rigger" -SRC_URI="http://registry.npmjs.org/${PN}/${PV}/${P}.tgz" LICENSE="MIT" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND=">=net-libs/nodejs-0.8.10" +DEPEND="" RDEPEND=">=dev-nodejs/rigger-0.5.4 - >=dev-nodejs/grunt-0.4.1 - ${DEPEND}" + >=dev-nodejs/grunt-0.4.1 + >=net-libs/nodejs-0.8.10 + ${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}/{tasks,Gruntfile.js,package.json} ${node_modules} - - dodoc README* LICENSE-MIT AUTHORS -} +NPM_EXTRA_FILES="tasks Grunfile.js" |