dev-tcltk/tktreectrl - 2.4.1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-tcltk/tktreectrl-2.4.1

Package Information

Description:
Flexible listbox widget for Tk
Homepage:
https://tktreectrl.sourceforge.net/
License:
tcltk

Ebuild Details

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

EAPI=8

inherit virtualx

DESCRIPTION="Flexible listbox widget for Tk"
HOMEPAGE="https://tktreectrl.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="tcltk"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE="debug shellicon threads"

RDEPEND=">=dev-lang/tk-8.4:0="
DEPEND="${RDEPEND}"

PATCHES=( "${FILESDIR}"/2.2.9-as-needed.patch )

QA_CONFIG_IMPL_DECL_SKIP=(
	stat64 # used to test for Large File Support
)

src_configure() {
	local myeconfargs=(
		$(use_enable threads)
		$(use_enable shellicon)
		$(use_enable amd64 64bit)
		$(use_enable debug symbols)
		--with-x
		--enable-shared
	)

	econf ${myeconfargs[@]}
}

src_test() {
	virtx emake test
}

src_install() {
	default
	mv \
		"${ED}"/usr/lib*/treectrl${PV}/htmldoc \
		"${ED}"/usr/share/doc/${PF}/ || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-tcltk/tktreectrl | euse -E <flag> -p dev-tcltk/tktreectrl | euse -D <flag> -p dev-tcltk/tktreectrl

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

>=dev-lang/tk-8.4:0=

RDEPEND

>=dev-lang/tk-8.4:0=

Manifest for 2.4.1

Type File Size Source URLs
DIST tktreectrl-2.4.1.tar.gz 945101 bytes https://downloads.sourceforge.net/tktreectrl/tktreectrl-2.4.1.tar.gz