mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
dev-lang/quickjs: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
1
dev-lang/quickjs/Manifest
Normal file
1
dev-lang/quickjs/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST quickjs-2020-11-08.tar.xz 752132 BLAKE2B 6382bac9f42f89f63ee90af1845f3d6370d434f4b05415559801d9e8c4d06ed672b7db8296300e884a1ac8a96e174257b25097ee299689da2d6c2ece42ad680d SHA512 d437813948269bab6046c0219eb20ccea45613073bea1c4eee5b553831fdaaa5e2165b14fcb436e86bf70d488200845f7821864abb6f40b115f0ef7f24971e02
|
||||||
23
dev-lang/quickjs/quickjs-2020.11.08.ebuild
Normal file
23
dev-lang/quickjs/quickjs-2020.11.08.ebuild
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_P="${PN}-${PV//./-}"
|
||||||
|
|
||||||
|
DESCRIPTION="Small embeddable Javascript engine"
|
||||||
|
HOMEPAGE="https://bellard.org/quickjs/"
|
||||||
|
SRC_URI="https://bellard.org/quickjs/${MY_P}.tar.xz"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i \
|
||||||
|
-e 's;prefix=/usr/local;prefix=/usr;' \
|
||||||
|
-e '/$(STRIP) .*/d' \
|
||||||
|
Makefile || die "Failed setting prefix"
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user