dev-util/vbindiff: Fix ncurses[tinfo] build, bump to EAPI 6, #558292
authorMichał Górny <mgorny@gentoo.org>
Thu, 23 Jun 2016 08:58:25 +0000 (10:58 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 23 Jun 2016 09:02:32 +0000 (11:02 +0200)
dev-util/vbindiff/vbindiff-3.0_beta4-r1.ebuild [new file with mode: 0644]

diff --git a/dev-util/vbindiff/vbindiff-3.0_beta4-r1.ebuild b/dev-util/vbindiff/vbindiff-3.0_beta4-r1.ebuild
new file mode 100644 (file)
index 0000000..25bee06
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Visual binary diff utility"
+HOMEPAGE="http://www.cjmweb.net/vbindiff/"
+SRC_URI="http://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)
+}