1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Text User Interface that implements the well known CUA widgets"
7 HOMEPAGE="http://tvision.sourceforge.net/"
8 SRC_URI="mirror://sourceforge/tvision/rhtvision_${PV/_pre/-}.tar.gz"
12 KEYWORDS="~amd64 ~ppc ~x86"
15 DOCS=( readme.txt THANKS TODO )
17 HTML_DOCS=( www-site/. )
22 "${FILESDIR}/${P}-gcc41.patch"
23 "${FILESDIR}/${P}-outb.patch"
24 "${FILESDIR}/${P}-underflow.patch"
25 "${FILESDIR}/${P}-asneeded.patch"
26 "${FILESDIR}/${P}-gcc44.patch"
27 "${FILESDIR}/${P}-ldconfig.patch"
28 "${FILESDIR}/${P}-flags.patch"
29 "${FILESDIR}/${P}-gcc6.patch" # bug #594176
30 "${FILESDIR}/${P}-build-system.patch" # for EAPI=6
34 ./configure --fhs || die
38 emake DESTDIR="${D}" install \
39 prefix="\${DESTDIR}/usr" \
40 libdir="\$(prefix)/$(get_libdir)"
43 dosym rhtvision /usr/include/tvision