mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
34 lines
642 B
Bash
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
|
|
}
|