dev-tcltk/tkcon - 2.7.10 (gentoo)

Search

Package Information

Description:
Tk GUI console
Homepage:
http://tkcon.sourceforge.net/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2.7.10 7 ~amd64 ~ppc ~x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Tk GUI console"
HOMEPAGE="http://tkcon.sourceforge.net/"
SRC_URI="https://github.com/wjoye/${PN}/archive/v${PV}.tar.gz ->
	${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
IUSE="doc"

DEPEND="dev-lang/tk:*"
RDEPEND="${DEPEND}"

RESTRICT="test"

src_prepare() {
	default
	mv docs/changes.txt CHANGES
}

src_install() {
	local tclver="$(echo 'puts $tcl_version' | tclsh)"
	local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}$(ver_cut 1-2)
	dodir ${instdir}
	cp -pP pkgIndex.tcl tkcon.tcl "${D}"${instdir} || die
	dodir /usr/bin
	dosym ${instdir}/tkcon.tcl /usr/bin/tkcon
	if use doc; then
		HTML_DOCS=( docs/* )
	fi
	einstalldocs
}

USE Flags

doc

Dependencies

DEPEND

dev-lang/tk:*

RDEPEND

dev-lang/tk:*

Manifest for 2.7.10

Type File Size Source URLs
DIST tkcon-2.7.10.tar.gz 277788 bytes https://github.com/wjoye/tkcon/archive/v2.7.10.tar.gz