From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-tcltk/tktray/tktray-1.3.9.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 dev-tcltk/tktray/tktray-1.3.9.ebuild (limited to 'dev-tcltk/tktray/tktray-1.3.9.ebuild') diff --git a/dev-tcltk/tktray/tktray-1.3.9.ebuild b/dev-tcltk/tktray/tktray-1.3.9.ebuild new file mode 100644 index 000000000000..85b005ef2865 --- /dev/null +++ b/dev-tcltk/tktray/tktray-1.3.9.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils virtualx + +MY_P="${PN}${PV}" + +DESCRIPTION="System Tray Icon Support for Tk on X11" +HOMEPAGE="https://code.google.com/p/tktray/" +SRC_URI="https://tktray.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="tcltk" +SLOT="0" +KEYWORDS="~alpha amd64 ~ppc ~sparc x86" +IUSE="debug threads test" + +DEPEND=" + >=dev-lang/tcl-8.4:0= + >=dev-lang/tk-8.4:0= + x11-libs/libXext" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/1.1-ldflags.patch +} + +src_configure() { + source /usr/lib/tclConfig.sh + CPPFLAGS="-I${TCL_SRC_DIR}/generic ${CPPFLAGS}" \ + econf \ + $(use_enable debug symbols) \ + $(use_enable threads) +} + +src_test() { + Xemake +} -- cgit v1.2.3