dev-js/node-addon-api: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-09-29 15:07:28 +02:00
parent 89df43aa70
commit 45c4e7d478
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit node
DESCRIPTION="Node.js API (N-API)"
HOMEPAGE="
https://github.com/nodejs/node-addon-api
https://www.npmjs.com/package/node-addon-api
"
LICENSE="MIT"
KEYWORDS="~amd64"
src_install() {
dodoc -r doc/.
rm -rf doc || die
node_src_install
}