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
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')
-rw-r--r--dev-tcltk/tktreectrl/ChangeLog10
-rw-r--r--dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch11
-rw-r--r--dev-tcltk/tktreectrl/metadata.xml11
-rw-r--r--dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild43
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-tcltk/tktreectrl/ChangeLog b/dev-tcltk/tktreectrl/ChangeLog
new file mode 100644
index 000000000000..1637c4098fc5
--- /dev/null
+++ b/dev-tcltk/tktreectrl/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tcltk/tktreectrl
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tktreectrl/ChangeLog,v 1.1 2010/02/04 23:27:35 jlec Exp $
+
+*tktreectrl-2.2.9 (04 Feb 2010)
+
+ 04 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org>
+ +files/2.2.9-as-needed.patch, +tktreectrl-2.2.9.ebuild, +metadata.xml:
+ Imported from scioverlay, fixes bug 217706
+
diff --git a/dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch b/dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch
new file mode 100644
index 000000000000..8b6dcea48acb
--- /dev/null
+++ b/dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch
@@ -0,0 +1,11 @@
+--- Makefile.in 2008-02-24 23:22:10.000000000 +0100
++++ Makefile.in.new 2009-07-11 23:54:48.000000000 +0200
+@@ -107,7 +107,7 @@
+ RANLIB = @RANLIB@
+ RANLIB_STUB = @RANLIB_STUB@
+ SHLIB_CFLAGS = @SHLIB_CFLAGS@
+-SHLIB_LD = @SHLIB_LD@
++SHLIB_LD = $(CC) $(LDFLAGS) -shared
+ SHLIB_LD_LIBS = @SHLIB_LD_LIBS@
+ STLIB_LD = @STLIB_LD@
+ TCL_DEFS = @TCL_DEFS@
diff --git a/dev-tcltk/tktreectrl/metadata.xml b/dev-tcltk/tktreectrl/metadata.xml
new file mode 100644
index 000000000000..cf05b17c4e50
--- /dev/null
+++ b/dev-tcltk/tktreectrl/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='shellicon'>shellicon extension</flag>
+</use>
+</pkgmetadata>
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}/
+}