mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-tcltk/tkcon: Drop EAPI 0 ebuild
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=0
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Tk GUI console"
|
||||
HOMEPAGE="http://tkcon.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="dev-lang/tk"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
local tclver="$(echo 'puts $tcl_version' | tclsh)"
|
||||
local instdir=/usr/$(get_libdir)/tcl${tclver}/${PN}2.5
|
||||
dodir ${instdir}
|
||||
cp -pP pkgIndex.tcl tkcon.tcl "${D}"${instdir} || die
|
||||
dodir /usr/bin
|
||||
dosym ${instdir}/tkcon.tcl /usr/bin/tkcon
|
||||
dodoc README.txt
|
||||
if use doc; then
|
||||
dohtml doc/*
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user