diff options
author | 2013-05-07 15:56:12 -0400 | |
---|---|---|
committer | 2013-05-07 15:56:12 -0400 | |
commit | 7c93798ba9eaef08115f9926ed9decc8986ad50f (patch) | |
tree | 6a84afb86a29cece5f0a15b6211d28a769caa251 | |
parent | dev-nodejs/getit: Initial commit (diff) | |
download | neurogeek-7c93798ba9eaef08115f9926ed9decc8986ad50f.tar.gz neurogeek-7c93798ba9eaef08115f9926ed9decc8986ad50f.tar.bz2 neurogeek-7c93798ba9eaef08115f9926ed9decc8986ad50f.zip |
dev-nodejs/buildjs: Initial commit
-rw-r--r-- | dev-nodejs/buildjs/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/buildjs/buildjs-1.0.3.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/buildjs/Manifest b/dev-nodejs/buildjs/Manifest new file mode 100644 index 0000000..b4fcb4e --- /dev/null +++ b/dev-nodejs/buildjs/Manifest @@ -0,0 +1,2 @@ +DIST buildjs-1.0.3.tgz 2732 SHA256 c38f6ecb50c92d5780a635033693c950fe7e90286bc923c5ff5389a591645ce4 SHA512 d8b6855a837c72c143f9238d065694f3cbb9c37fb804156f624f042cce7d9b670f834450b03d883c9f8072b30ff812a3218bd0a73f4f53610b36b9f152fc2ebd WHIRLPOOL a4480a18716c8672499f22925512b7a4be822d7f985051d3269cd7d48bfadd59a836c1947ea9be4ab18ca9dc70b72d784ea050bd0fe299ee536f7ab988d3ab99 +EBUILD buildjs-1.0.3.ebuild 752 SHA256 e16e6bf73f728ae94d53915b956d47d0f6976ecf9972f475426a3a2d7d7b0907 SHA512 c7a184445acc52d8d0cdb51ac84343f53bf2174f0ae0640ecd395dc8843517d977e9475bfe6a4ffbde8a3f601e34e690439af773d11d2200e998fd527a81d445 WHIRLPOOL c034f59cc05a38a00902baeb1ac06feda35d004a51cef22ab6c86214649cdf0834856e3ebe9d53ec10f9d3ea47d66ba9823faf63e4aaa7600816672d6afeb409 diff --git a/dev-nodejs/buildjs/buildjs-1.0.3.ebuild b/dev-nodejs/buildjs/buildjs-1.0.3.ebuild new file mode 100644 index 0000000..df01066 --- /dev/null +++ b/dev-nodejs/buildjs/buildjs-1.0.3.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="JS/CSS files compress/optimizer." +HOMEPAGE="https://npmjs.org/package/buildjs" +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}/{build.json,index.js,lib,package.json} ${node_modules} + + dodoc README* +} |