summaryrefslogtreecommitdiff
blob: a27438a4c3010b3a5df1d51ed5553569ea4610b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Visual binary diff utility"
HOMEPAGE="https://www.cjmweb.net/vbindiff/"
SRC_URI="https://www.cjmweb.net/vbindiff/${P}.tar.gz"

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

RDEPEND="sys-libs/ncurses:0="
DEPEND="${RDEPEND}"

src_configure() {
	has_version 'sys-libs/ncurses:0[tinfo(-)]' && \
		local -x LIBS="${LIBS} -ltinfo"
	econf $(use_enable debug)
}