blob: 7b5abe0c2c9a87b821da4ea113922dfcfa13684f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
DESCRIPTION="The Hare systems programming language"
HOMEPAGE="https://harelang.org/"
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
}
|