1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils virtualx
9 DESCRIPTION="Tcl Standard Library"
10 HOMEPAGE="http://www.tcl.tk/software/tcllib/"
12 https://dev.gentoo.org/~jlec/distfiles/${P}-manpage-rename.patch.xz
13 https://dev.gentoo.org/~jlec/distfiles/${P}-test.patch.xz
14 mirror://sourceforge/tcllib/${P}.tar.bz2"
19 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
21 RDEPEND="dev-lang/tcl:0="
24 DOCS=( DESCRIPTION.txt STATUS )
27 "${FILESDIR}"/${P}-tcl8.6-test.patch
28 "${WORKDIR}"/${P}-test.patch
29 "${WORKDIR}"/${P}-manpage-rename.patch
30 "${FILESDIR}"/${P}-XSS-vuln.patch
34 has_version ">=dev-lang/tcl-8.6" && \
35 PATCHES+=( "${FILESDIR}"/${P}-test.patch )
49 if use examples ; then
50 for f in $(find examples -type f); do