summaryrefslogtreecommitdiff
path: root/app-portage/pupgrade/pupgrade-0.5.1.ebuild
blob: 1d5800a4dcd6d7e24f35ebb41fdd36c06781caa9 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="TUI and CLI wrappers for Gentoo system upgrades, written in B and C"
HOMEPAGE="https://gitlab.com/masterwolf/pupgrade"
SRC_URI="https://gitlab.com/masterwolf/pupgrade/-/archive/${PV}/pupgrade-${PV}.tar.bz2"

S="${WORKDIR}/pupgrade-${PV}/source"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"

IUSE="tui"

RDEPEND="
	dev-util/dialog
	app-shells/bash
"

BDEPEND="
	tui? ( sys-devel/b )
"

src_prepare() {
	eautoreconf
	default
}

src_compile() {

emake
}

src_install() {
	dobin pupgrade

	if use tui; then
		dobin tuipupgrade
	fi

}

QA_FLAGS_IGNORED="/usr/bin/tuipupgrade"