dev-js/core-js: new package, a standard library for JavaScript

Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
This commit is contained in:
Wolfgang E. Sanyer
2021-09-10 09:58:01 -04:00
parent 72627c2e3e
commit ecd330604a
3 changed files with 40 additions and 0 deletions

1
dev-js/core-js/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST core-js-3.17.3.tgz 186125 BLAKE2B 120110a35ce153df3a8844a0e475f11c7239d6c19043370d5addc67de6c5eb74f0b369bee6835ecc05638c7ba5932f3398bc9505395842a5f8760150eb8089e9 SHA512 972bda8ecfb077c3758577f3a1bd4b74e0821c55386c631baaa98b9f54384250a90ea58fa467fea749e3f8b36bbc30c6df78f48595f0da7b2fbd5a47cacc7237

View File

@@ -0,0 +1,38 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A modular standard library for JavaScript"
HOMEPAGE="https://github.com/zloirock/core-js"
SRC_URI="https://registry.npmjs.org/${PN}/-/${P}.tgz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="net-libs/nodejs"
BDEPEND="net-libs/nodejs[npm]"
src_compile() {
# nothing to compile here
:
}
S="${WORKDIR}/package"
src_install() {
npm \
--audit false \
--color false \
--foreground-scripts \
--global \
--offline \
--omit dev \
--prefix "${ED}"/usr \
--progress false \
--verbose \
install "${DISTDIR}/${P}".tgz || die "npm install failed"
einstalldocs
}

View File

@@ -1,2 +1,3 @@
dev-dotnet
dev-js
dev-R