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 @@
DIST node-addon-api-3.1.0.tgz 122233 BLAKE2B 5c9fcd35f0d1a60397c2c805db8fe67458a073d973eebec50db769644ecd5bbf978a88a21670f70219f22c4f0f1939bfcd77563030bfbea9e098f9a1c4cb29cf SHA512 7e59ab0cd074e8b225e65cb0533ed894d1991ffe69d0ced6dbc93c87377d2ec86d761d70b210f663e53887d2c3e8a39b3b2d5ff9f115760a6b3eb1329a3339bb

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/nodejs/node-addon-api/issues</bugs-to>
<remote-id type="github">nodejs/node-addon-api</remote-id>
</upstream>
</pkgmetadata>

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
}