dev-lang/quickjs: New Package

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2021-01-25 18:26:47 +01:00
parent 6b5c0e6328
commit eee6bc341f
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST quickjs-2020-11-08.tar.xz 752132 BLAKE2B 6382bac9f42f89f63ee90af1845f3d6370d434f4b05415559801d9e8c4d06ed672b7db8296300e884a1ac8a96e174257b25097ee299689da2d6c2ece42ad680d SHA512 d437813948269bab6046c0219eb20ccea45613073bea1c4eee5b553831fdaaa5e2165b14fcb436e86bf70d488200845f7821864abb6f40b115f0ef7f24971e02

View 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
}