mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
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:
1
dev-js/core-js/Manifest
Normal file
1
dev-js/core-js/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST core-js-3.17.3.tgz 186125 BLAKE2B 120110a35ce153df3a8844a0e475f11c7239d6c19043370d5addc67de6c5eb74f0b369bee6835ecc05638c7ba5932f3398bc9505395842a5f8760150eb8089e9 SHA512 972bda8ecfb077c3758577f3a1bd4b74e0821c55386c631baaa98b9f54384250a90ea58fa467fea749e3f8b36bbc30c6df78f48595f0da7b2fbd5a47cacc7237
|
||||
38
dev-js/core-js/core-js-3.17.3.ebuild
Normal file
38
dev-js/core-js/core-js-3.17.3.ebuild
Normal 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
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
dev-dotnet
|
||||
dev-js
|
||||
dev-R
|
||||
|
||||
Reference in New Issue
Block a user