1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools eutils
8 DESCRIPTION="drop-in replacement for cdialog using GTK"
9 HOMEPAGE="http://xdialog.free.fr/"
10 SRC_URI="http://${PN}.free.fr/Xdialog-${PV}.tar.bz2"
14 KEYWORDS="~alpha amd64 ~hppa ppc x86"
15 IUSE="doc examples nls"
24 nls? ( sys-devel/gettext )
27 S="${WORKDIR}/${P/x/X}"
30 "${FILESDIR}"/${P}-{no-strip,install}.patch
34 epatch "${PATCHES[@]}"
48 rm -rv "${D}"/usr/share/doc || die
50 dodoc AUTHORS BUGS ChangeLog README
52 use doc && dohtml -r doc/
55 insinto "/usr/share/doc/${PF}/examples"