summaryrefslogtreecommitdiff
path: root/dev-hare/hare-ssh/hare-ssh-0.25.2.ebuild
blob: 4b5a76c85510a656705e738d2be85c12f924d7cc (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
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

if [[ "${PV}" = 9999 ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hare-ssh"
	SLOT="0"
else
	SRC_URI="https://git.sr.ht/~sircmpwn/hare-ssh/archive/${PV}.tar.gz -> ${P}.tar.gz"
	SLOT="0/${PV}"

	KEYWORDS="~amd64 ~arm64 ~riscv"
fi

DESCRIPTION="SSH library for Hare"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hare-ssh"
LICENSE="MPL-2.0"

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

src_prepare() {
	default
	sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
}