dev-util/rollup - 4.9.6 (buzden)

Search

Package Information

Description:
The JavaScript module bundler
Homepage:
https://rollupjs.org/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
4.9.6 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="The JavaScript module bundler"
HOMEPAGE="https://rollupjs.org/"
#SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="net-libs/nodejs"
BDEPEND=">=net-libs/nodejs-16[npm]"

pkg_setup() {
	local myopts=(
		--audit false
		--color false
		--foreground-scripts
		--global
		--omit dev
		--prefix "${S}"/usr
		--progress false
		--verbose
	)
	npm ${myopts[@]} install "${PN}@${PV}" || die "npm install failed"
}

src_compile() {
	# Skip, nothing to compile here.
	:
}

src_install() {
	cp -r "${S}"/usr/ "${D}" || die "Bad installation process"
}

Dependencies

RDEPEND

net-libs/nodejs

BDEPEND

>=net-libs/nodejs-16[npm]