summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-nodejs/ini/Manifest2
-rw-r--r--dev-nodejs/ini/ini-1.1.0.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-nodejs/ini/Manifest b/dev-nodejs/ini/Manifest
new file mode 100644
index 0000000..a827ab2
--- /dev/null
+++ b/dev-nodejs/ini/Manifest
@@ -0,0 +1,2 @@
+DIST ini-1.1.0.tgz 4895 SHA256 307ecc5f8664773587a0d74165d1dbdb226754b638542596b7a1e2ed0a578a28 SHA512 07a2ff8dfc8545c1b676a2a21e08169df6f2e76232d3b89a6c4e05eacad002bfce995281444e6e53e079310fa743b3626278f3f77804361d4686a1f3a4380780 WHIRLPOOL f316c752b1fe60cf6449d6beb12a0f1e05b0d142c3b0ea7ad5470d1ebc592a97a362db8462d62dfade958e207cbf2d87e32b19b39de9cfb4145b90c85be59ecb
+EBUILD ini-1.1.0.ebuild 744 SHA256 18f59c58cbdfdb09e4f31944b992fbbbb11c56fedcd4ae2fa2666b3435a547d0 SHA512 ea9ab430767877fbb6c4473c8a8cbc7d15503d3303e876f5fe61c4839ab20b9d240f687526fd82faad7886d4ae0f4d144cd2d76ec63406fd5c5bc165a83e3338 WHIRLPOOL 9f311f715813c1f2962894f10e99b8f69b547996ee42a42a1e8efa63436c0b0f9a4a3e664baf57436e2ec99cd0acb04840f8e079f60a057aab7ea573fe9ae51b
diff --git a/dev-nodejs/ini/ini-1.1.0.ebuild b/dev-nodejs/ini/ini-1.1.0.ebuild
new file mode 100644
index 0000000..094a20b
--- /dev/null
+++ b/dev-nodejs/ini/ini-1.1.0.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="An ini encoder/decoder for Node.js."
+HOMEPAGE="https://npmjs.org/package/ini"
+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}/{${PN}.js,package.json} ${node_modules}
+
+ dodoc README* LICENSE
+}