1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Text User Interface that implements the well known CUA widgets"
9 HOMEPAGE="http://tvision.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/tvision/rhtvision_${MY_PV}.tar.gz"
14 KEYWORDS="~amd64 ~ppc ~x86"
17 DOCS=( readme.txt THANKS TODO )
18 HTML_DOCS=( www-site/. )
22 # installed lib links to those
42 "${FILESDIR}/${P}-fix-dot-INC.patch"
43 "${FILESDIR}/${P}-ldconfig.patch"
44 "${FILESDIR}/${P}-build-system.patch"
45 "${FILESDIR}/${P}-gcc6.patch"
46 "${FILESDIR}/${P}-flags.patch"
47 "${FILESDIR}/${P}-fix-overloaded-abs.patch"
51 # Note: Do not use econf here, this isn't an autoconf configure script,
52 # but a perl based script which simply calls config.pl
54 $(use_with debug debug) \
60 emake DESTDIR="${D}" install \
61 prefix="\${DESTDIR}/${EPREFIX}/usr" \
62 libdir="\$(prefix)/$(get_libdir)"
65 dosym rhtvision /usr/include/tvision
67 # remove CVS directory which gets copied over
68 rm -r "${ED}/usr/share/doc/${P}/html/CVS" || die