1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Tcl Standard Library"
9 HOMEPAGE="http://www.tcl.tk/software/tcllib/"
10 SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${P}.tar.xz"
15 KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ~ppc64 s390 sparc x86 ~amd64-linux ~x86-linux"
16 RESTRICT="!test? ( test )"
25 ChangeLog DESCRIPTION.txt README-1.19.txt README.developer
26 devdoc/critcl-tcllib.txt devdoc/dirlayout_install.txt
27 devdoc/indexing.txt devdoc/installation.txt
29 HTML_DOCS=( devdoc/devguide.html devdoc/releaseguide.html )
31 PATCHES=( "${FILESDIR}"/${P}-test.patch )
35 if has_version ">=dev-lang/tcl-8.6.9"; then
37 -e "s|::hook::call|call|" \
38 -e "s|::string::token::shell|shell|" \
39 "${S}"/modules/hook/hook.test \
40 "${S}"/modules/string/token_shell.test \
46 USER= virtx emake test_batch
52 if use examples ; then
53 for f in $(find examples -type f); do