guru/dev-lang/hare/hare-9999.ebuild
Haelwenn (lanodan) Monnier 112a0f2da3
dev-lang/hare: Add MPL-2.0 in LICENSE
The standard library is under MPL-2.0, the executables are under GPL-3.0 (only)

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2022-05-05 16:40:51 +02:00

33 lines
587 B
Bash

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