summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-02-04 23:27:39 +0000
committerJustin Lecher <jlec@gentoo.org>2010-02-04 23:27:39 +0000
commit166302407bbfe44ed83b7c60d31df4291feb4c0a (patch)
tree6b834344dad27dcc23f16742564be6c409823813 /dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild
parenttktreectrl license added (diff)
downloadgentoo-2-166302407bbfe44ed83b7c60d31df4291feb4c0a.tar.gz
gentoo-2-166302407bbfe44ed83b7c60d31df4291feb4c0a.tar.bz2
gentoo-2-166302407bbfe44ed83b7c60d31df4291feb4c0a.zip
Imported from scioverlay, fixes bug 217706
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild')
-rw-r--r--dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild b/dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild
new file mode 100644
index 000000000000..a1480057da69
--- /dev/null
+++ b/dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild,v 1.1 2010/02/04 23:27:35 jlec Exp $
+
+EAPI="3"
+
+inherit eutils
+
+DESCRIPTION="A flexible listbox widget for Tk"
+HOMEPAGE="http://tktreectrl.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="tktreectrl"
+SLOT="0"
+IUSE="X debug shellicon threads"
+KEYWORDS="~x86 ~amd64"
+
+RDEPEND=">=dev-lang/tcl-8.4"
+DEPEND="${REDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-as-needed.patch
+}
+
+src_configure() {
+ econf \
+ $(use_enable threads) \
+ $(use_enable shellicon) \
+ $(use_enable amd64 64bit) \
+ $(use_enable debug symbols) \
+ $(use_enable X x) \
+ --enable-shared
+}
+
+src_test() {
+ emake test || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc ChangeLog README.txt || die
+ mv "${ED}"/usr/lib*/treectrl${PV}/htmldoc "${ED}"/usr/share/doc/${P}/
+}