mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 16:13:21 -04:00
38 lines
645 B
Bash
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
|
|
}
|