Files
guru/dev-js/better-sqlite3/better-sqlite3-7.4.3.ebuild
Alessandro Barbieri 8797af3e0f dev-js/*: pelias-openstreetmap dependencies
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2021-10-03 20:31:58 +02:00

38 lines
645 B
Bash

# 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
}