summaryrefslogtreecommitdiff
path: root/app-emulation/ski/ski-1.5.0.ebuild
blob: 1e16ff19a53c4c1570408011136de869fc665a1b (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
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit eapi9-ver

DESCRIPTION="ia64 instruction set simulator"
HOMEPAGE="https://github.com/trofi/ski"
SRC_URI="https://github.com/trofi/ski/releases/download/v${PV}/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

RDEPEND="
	sys-libs/ncurses:=
	virtual/libelf:=
	debug? ( sys-libs/binutils-libs:= )
"
DEPEND="
	${RDEPEND}
	dev-util/gperf
"

PATCHES=(
	# merged, to be removed for the next version
	"${FILESDIR}"/${P}-fix_termio.patch
)

src_configure() {
	local myeconfargs=(
		$(use_with debug bfd)
	)

	econf "${myeconfargs[@]}"
}

pkg_postinst() {
	if ver_replacing -le 1.4.0; then
		ewarn "Since version 1.5.0 ${PN} no longer installs xski binary because x11-backend with x11-libs/motif has been removed."
	fi
}