summaryrefslogtreecommitdiff
path: root/dev-hare/hare-json/hare-json-0.26.0.0.ebuild
blob: 30fe9309c90c187db8b230cba8fc472d3571262a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="JSON support for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-json"
SRC_URI="https://git.sr.ht/~sircmpwn/hare-json/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"

KEYWORDS="~amd64 ~arm64 ~riscv"

DEPEND=">=dev-lang/hare-0.26.0"
RDEPEND="${DEPEND}"

src_prepare() {
	default

	sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}