mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
24 lines
486 B
Bash
24 lines
486 B
Bash
# Copyright 2021 Gentoo Authors
|
|
# 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
|
|
}
|