You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
747 B
36 lines
747 B
2 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
7 months ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
DESCRIPTION="Use any Linux distribution inside your terminal (powered by docker/podman)"
|
||
|
HOMEPAGE="https://distrobox.privatedns.org/
|
||
|
https://github.com/89luca89/distrobox/"
|
||
|
|
||
2 months ago
|
if [[ "${PV}" == *9999* ]] ; then
|
||
7 months ago
|
inherit git-r3
|
||
2 months ago
|
|
||
7 months ago
|
EGIT_REPO_URI="https://github.com/89luca89/${PN}.git"
|
||
|
else
|
||
|
SRC_URI="https://github.com/89luca89/${PN}/archive/${PV}.tar.gz
|
||
|
-> ${P}.tar.gz"
|
||
2 months ago
|
|
||
|
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||
7 months ago
|
fi
|
||
|
|
||
|
LICENSE="GPL-3" # GPL-3.0-only !
|
||
|
SLOT="0"
|
||
|
|
||
|
RDEPEND="
|
||
|
|| (
|
||
|
app-containers/docker
|
||
|
app-containers/podman
|
||
|
)
|
||
|
"
|
||
|
|
||
|
src_install() {
|
||
2 months ago
|
sh ./install --prefix "${ED}/usr" || die "${PN} install script failed"
|
||
|
|
||
7 months ago
|
dodoc *.md
|
||
|
}
|