diff options
author | 2013-05-06 16:53:42 -0400 | |
---|---|---|
committer | 2013-05-06 16:53:42 -0400 | |
commit | 8f832397462fcc966de905ceae14774671db1ff0 (patch) | |
tree | b51c30d5036e8ad55e97999d8dd1605586cef90d | |
parent | dev-nodejs/qs: Initial commit (diff) | |
download | neurogeek-8f832397462fcc966de905ceae14774671db1ff0.tar.gz neurogeek-8f832397462fcc966de905ceae14774671db1ff0.tar.bz2 neurogeek-8f832397462fcc966de905ceae14774671db1ff0.zip |
dev-nodejs/noptify: Initial commit
-rw-r--r-- | dev-nodejs/noptify/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/noptify/noptify-0.0.3.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-nodejs/noptify/Manifest b/dev-nodejs/noptify/Manifest new file mode 100644 index 0000000..44518f9 --- /dev/null +++ b/dev-nodejs/noptify/Manifest @@ -0,0 +1,2 @@ +DIST noptify-0.0.3.tgz 5911 SHA256 a2c2fca7e79ae19f9211bcb36d2c786738d0320440727e52329eea2555517798 SHA512 1194f7e6bf40b8afa18a0fa262fe35e389307c31038658f7ce77151f0f5bf5df3a4d4624ffaec1b4102991f3c3d64b25013ffc4d30f6eb6c5db156d5fa20924f WHIRLPOOL ecd52c7254e3a284816551c59db518b104a9950945b37fa40451623f279382821ba3d6205cf522d2036c93bcd77df0d233e73d99a8c63289acd44ff98e3ae689 +EBUILD noptify-0.0.3.ebuild 781 SHA256 3298e4b6553b09a2f54b8cbaeafd07311913ec0c180413b51a63a49179924377 SHA512 114b7912e73515092dd52c35310b11c233ef592b41dfb90e8deaff540c710d411ca2b2d521bedd2b0a98f4298d391f73a7ef42c2d602a48abfa11fd17c844e87 WHIRLPOOL 36c640633b0cca3a347f7ad5caa83190ec00328376908947ab6c1ae912007c152932f656fe2972680fd81e008a5c46377387639d5e52438e1d9b72e0f7493827 diff --git a/dev-nodejs/noptify/noptify-0.0.3.ebuild b/dev-nodejs/noptify/noptify-0.0.3.ebuild new file mode 100644 index 0000000..40e3869 --- /dev/null +++ b/dev-nodejs/noptify/noptify-0.0.3.ebuild @@ -0,0 +1,39 @@ +# 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="nopt wrapper with commander-like API" +HOMEPAGE="https://npmjs.org/package/noptify" +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/nopt-2.1.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}/{actions,index.js,util,package.json} ${node_modules} + + dodoc readme* +} |