diff options
author | 2013-05-07 16:00:45 -0400 | |
---|---|---|
committer | 2013-05-07 16:00:45 -0400 | |
commit | d611242acdcffcc6f76bb6552093bd37d3d34a31 (patch) | |
tree | 76c66b96804233b0f87e43154066190978bbf384 | |
parent | dev-nodejs/buildjs: Initial commit (diff) | |
download | neurogeek-d611242acdcffcc6f76bb6552093bd37d3d34a31.tar.gz neurogeek-d611242acdcffcc6f76bb6552093bd37d3d34a31.tar.bz2 neurogeek-d611242acdcffcc6f76bb6552093bd37d3d34a31.zip |
dev-nodejs/buildjs_core: Initial commit
-rw-r--r-- | dev-nodejs/buildjs_core/Manifest | 2 | ||||
-rw-r--r-- | dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-nodejs/buildjs_core/Manifest b/dev-nodejs/buildjs_core/Manifest new file mode 100644 index 0000000..808d327 --- /dev/null +++ b/dev-nodejs/buildjs_core/Manifest @@ -0,0 +1,2 @@ +DIST buildjs.core-0.1.0.tgz 2153 SHA256 051d8c4b58f52e3a1aa18ec1b52729833c5a0581d0e64ff3bd7bcf3a0282d1ed SHA512 4cae1ba3b5ba0c69cd1359f7e007b0f44c4fd21c5d7ba3552a19fbd4277b0513b1a92c88cdf0c8f724a4fe7dbcbebd225d8304d05827471e7a327f362ca135a2 WHIRLPOOL 6da8f079d92d41d5734ca556b14901d2263114b242f0ceae0ae0b2a498ae81f2fcd7be416ce7f012651221fcf08680115d80ac6cc6e66b4625631a786d408422 +EBUILD buildjs_core-0.1.0.ebuild 834 SHA256 6a8a44aaf12f9ba0a11af9824e93fabf9d12d1cf5de14bdab85d7f54b5d51c8f SHA512 5c591331f59358204c79e8735faed309611aff6b2801767f7f3208e805b93d99957e95d9792f41d79761432e2381dff98f19be6e539bcb43b8325d056a41855f WHIRLPOOL 02210d473c36bd78b250fb74b8fc8c180218848e29002cec1176415cdbe73b713b4ef8ef66227f51b94e375cd919e7d49438594044609ffd4f34c595d078d9d2 diff --git a/dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild b/dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild new file mode 100644 index 0000000..406be50 --- /dev/null +++ b/dev-nodejs/buildjs_core/buildjs_core-0.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +MY_PN="${PN/_/.}" +MY_P="${MY_PN}-${PV}" +NODEJS_MODULE=${MY_PN} + +inherit multilib + +DESCRIPTION="JS/CSS files compress/optimizer." +HOMEPAGE="https://npmjs.org/package/buildjs" +SRC_URI="http://registry.npmjs.org/${MY_PN}/-/${MY_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}/{aliases.js,formatters.js,index.js,platform.js,regexes.js,package.json} ${node_modules} + + dodoc README* +} |