dev-js/*: pelias-openstreetmap dependencies

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-10-01 02:21:46 +02:00
parent 902e0be573
commit 8797af3e0f
960 changed files with 15785 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit node
DESCRIPTION="The fastest and simplest library for SQLite3 in Node.js."
HOMEPAGE="
https://github.com/JoshuaWise/better-sqlite3
https://www.npmjs.com/package/better-sqlite3
"
LICENSE="MIT"
KEYWORDS="~amd64"
RDEPEND="
${NODEJS_RDEPEND}
dev-db/sqlite:3
dev-js/bindings
dev-js/prebuild-install
dev-js/tar
"
DEPEND="
${NODEJS_DEPEND}
dev-db/sqlite:3
"
PATCHES=( "${FILESDIR}/${PN}-system-sqlite.patch" )
NPM_FLAGS="--build-from-source"
src_install() {
dodoc -r docs/.
rm -rf docs || die
node_src_install
}