guru/dev-lang/hare/hare-0_pre20220624.ebuild
Huang Rui d8f7e2a726
dev-lang/hare: add fixed version to fix CI
Signed-off-by: Huang Rui <vowstar@gmail.com>
2022-06-24 20:42:31 +08:00

34 lines
642 B
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="The Hare systems programming language"
HOMEPAGE="https://harelang.org/"
EGIT_COMMIT="65449ddbbbf39659bfaf84a2cb78510409a4ab7a"
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare"
LICENSE="MPL-2.0 GPL-3"
SLOT="0"
DEPEND="
sys-devel/qbe
dev-lang/harec
"
BDEPEND="
app-text/scdoc
"
RDEPEND="${DEPEND}"
src_unpack() {
default
git-r3_src_unpack
mkdir "${WORKDIR}/${P}/build" || die
}
src_configure() {
cp config.example.mk config.mk || die
sed -i -e 's;^PREFIX=.*;PREFIX=/usr;' config.mk || die
}