summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-nodejs/file/file-0.2.1.ebuild')
-rw-r--r--dev-nodejs/file/file-0.2.1.ebuild29
1 files changed, 4 insertions, 25 deletions
diff --git a/dev-nodejs/file/file-0.2.1.ebuild b/dev-nodejs/file/file-0.2.1.ebuild
index 0f17bb7..3ca39c5 100644
--- a/dev-nodejs/file/file-0.2.1.ebuild
+++ b/dev-nodejs/file/file-0.2.1.ebuild
@@ -3,36 +3,15 @@
# $Header: $
EAPI=4
-NODEJS_MODULE=${PN}
-inherit multilib
+inherit npm
DESCRIPTION="Higher level path and file manipulation functions."
-HOMEPAGE="https://npmjs.org/package/file"
-SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
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*
-}
+RDEPEND=">=net-libs/nodejs-0.8.10"
+DEPEND=""