diff options
-rw-r--r-- | dev-nodejs/abbrev/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/abbrev/abbrev-1.0.4.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/abbrev/Manifest b/dev-nodejs/abbrev/Manifest new file mode 100644 index 0000000..08fe53c --- /dev/null +++ b/dev-nodejs/abbrev/Manifest @@ -0,0 +1,2 @@ +DIST abbrev-1.0.4.tgz 2295 SHA256 8dc0f480571a4a19e74f1abd4f31f6a70f94953d1ccafa16ed1a544a19a6f3a8 SHA512 c6857500b65859d304b283926b355ee09dbfd138a6d593cabf3db1be6a718e912b064179a3b5505a2bd5afc57194084e75eb23bca1ca9bada5d2034478be3ed8 WHIRLPOOL 39b07bcf6d2b7283f8922543c7ec8bfe6e6fb829ca091722c65f09974c9d89ea6db33ed2e10a8fb2de8cb4d628f559c5ab82b72979aef1ab7acdf112b9eaacac +EBUILD abbrev-1.0.4.ebuild 744 SHA256 a15fa6a3eaeb821ff6b6d6e9df55165205c03acffd33987f038a8686a0133f54 SHA512 b19dfdf18b25f39d03e4883af1e4b00aff8190bf1b41396366a860d57ccf3b18a2334f6a697621124a02187ea7ff5c92b79f9b06c424bf12b553745839a879b2 WHIRLPOOL 984fe131f0c53c84c7de82ed0055f33a2ff3acff20559361def2e06d523e6321d51cdb41379855c6dec6bb2f43b4715cf81acafec5e851950df3ba870e99b325 diff --git a/dev-nodejs/abbrev/abbrev-1.0.4.ebuild b/dev-nodejs/abbrev/abbrev-1.0.4.ebuild new file mode 100644 index 0000000..fadc916 --- /dev/null +++ b/dev-nodejs/abbrev/abbrev-1.0.4.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="Like ruby's abbrev module, but in js." +HOMEPAGE="https://npmjs.org/package/abbrev" +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}/{lib,package.json} ${node_modules} + + dodoc README* LICENSE +} |