summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-nodejs/inherits/inherits-1.0.0.ebuild')
-rw-r--r--dev-nodejs/inherits/inherits-1.0.0.ebuild31
1 files changed, 5 insertions, 26 deletions
diff --git a/dev-nodejs/inherits/inherits-1.0.0.ebuild b/dev-nodejs/inherits/inherits-1.0.0.ebuild
index 4d88f1f..bcaf723 100644
--- a/dev-nodejs/inherits/inherits-1.0.0.ebuild
+++ b/dev-nodejs/inherits/inherits-1.0.0.ebuild
@@ -3,36 +3,15 @@
# $Header: $
EAPI=4
-NODEJS_MODULE=${PN}
-inherit multilib
+inherit npm
-DESCRIPTION="A tiny simple way to do classic inheritance in js"
-HOMEPAGE="https://npmjs.org/package/inherits"
-SRC_URI="http://registry.npmjs.org/${PN}/-/${P}.tgz"
+DESCRIPTION="A tiny simple way to do classic inheritance in js."
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}/{${PN}.js,package.json} ${node_modules}
-
- dodoc README*
-}
+RDEPEND=">=net-libs/nodejs-0.8.10"
+DEPEND=""