summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-nodejs')
-rw-r--r--dev-nodejs/findup-sync/Manifest2
-rw-r--r--dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-nodejs/findup-sync/Manifest b/dev-nodejs/findup-sync/Manifest
index 619e90f..b88ff05 100644
--- a/dev-nodejs/findup-sync/Manifest
+++ b/dev-nodejs/findup-sync/Manifest
@@ -1,2 +1,4 @@
+DIST findup-sync-0.1.0.tgz 3003 SHA256 00911fa6aec7bf9b98c11a517a181e89a25269b8601e0358aae7b4febe84872b SHA512 ab19c3b13763c044a12e586f801ac78e79577807ef10f69042e8344bc4406f5d62e4932afd20b79f8154851ca0a534004dae215849f3b7e21e26a3d4cbc34886 WHIRLPOOL 5595cd6f40f4993cb1f32197a64d3f8e37dfc09ff961ec1e1148bce2696037a67aa5ae5832a601682a83623cfca8a30748aaf10115510922424d9b45fb16184b
DIST findup-sync-0.1.2.tgz 3347 SHA256 0df0154b34bd0b8a2a69ad4fac1f91093c1b22d21f7a407d0eb9abfc0f9cb20c SHA512 ba593307f2972dd613322f374b7d06d367e7e3cbdde7ca70bb544d10a69bd80013228fc8d2a65c10e7ae8f9b96570b50d03b51d3f123987ccf27c319487309e0 WHIRLPOOL a15412ab58acf78ce011cd12d52a2d9b2ddc61f530f5822247ad13d4ebab93c76a6df1a37489974db5ee75803c3579b89dfeae53f4639f5b59733762266408d1
+EBUILD findup-sync-0.1.0.ebuild 859 SHA256 353029942e0616ed7e985ca6d315a389fc52fdaa7bc56dd3385fd7737fc68e3c SHA512 22fb9bdf526cd61401e02c79f8f2feb808efd588080582c338a76a0e5c67e859d03ab9b932e19316167068114e7cb8aac9046624d6003fd842af1b66556444c0 WHIRLPOOL 52909ed140fb13fbae929eb6426fda0540b6b2a93028561ab28915bfa9aab3448d4df10d08837af18317e42fe6149646681cb7caf1862d3eace797fa8deced6a
EBUILD findup-sync-0.1.2.ebuild 859 SHA256 353029942e0616ed7e985ca6d315a389fc52fdaa7bc56dd3385fd7737fc68e3c SHA512 22fb9bdf526cd61401e02c79f8f2feb808efd588080582c338a76a0e5c67e859d03ab9b932e19316167068114e7cb8aac9046624d6003fd842af1b66556444c0 WHIRLPOOL 52909ed140fb13fbae929eb6426fda0540b6b2a93028561ab28915bfa9aab3448d4df10d08837af18317e42fe6149646681cb7caf1862d3eace797fa8deced6a
diff --git a/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild b/dev-nodejs/findup-sync/findup-sync-0.1.0.ebuild
new file mode 100644
index 0000000..d81f8e1
--- /dev/null
+++ b/dev-nodejs/findup-sync/findup-sync-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
+NODEJS_MODULE=${PN}
+
+inherit multilib
+
+DESCRIPTION="Find the first file matching a given pattern in the current
+directory or the nearest ancestor directory."
+HOMEPAGE="https://npmjs.org/package/findup-sync"
+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/glob-3.2.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}/{Gruntfile.js,lib,package.json} ${node_modules}
+
+ dodoc README* LICENSE-MIT
+}