From 166302407bbfe44ed83b7c60d31df4291feb4c0a Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Thu, 4 Feb 2010 23:27:39 +0000 Subject: Imported from scioverlay, fixes bug 217706 (Portage version: 2.2_rc62/cvs/Linux x86_64) --- dev-tcltk/tktreectrl/ChangeLog | 10 ++++++ dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch | 11 ++++++ dev-tcltk/tktreectrl/metadata.xml | 11 ++++++ dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild | 43 ++++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 dev-tcltk/tktreectrl/ChangeLog create mode 100644 dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch create mode 100644 dev-tcltk/tktreectrl/metadata.xml create mode 100644 dev-tcltk/tktreectrl/tktreectrl-2.2.9.ebuild (limited to 'dev-tcltk/tktreectrl') 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) + +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 @@ + + + +sci + + sci@gentoo.org + + + shellicon extension + + 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}/ +} -- cgit v1.2.3-65-gdbad