summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/tix/tix-8.4.2-r2.ebuild')
-rw-r--r--dev-tcltk/tix/tix-8.4.2-r2.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-tcltk/tix/tix-8.4.2-r2.ebuild b/dev-tcltk/tix/tix-8.4.2-r2.ebuild
new file mode 100644
index 000000000000..3c5a76784f6d
--- /dev/null
+++ b/dev-tcltk/tix/tix-8.4.2-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tix/tix-8.4.2-r2.ebuild,v 1.1 2009/04/17 20:22:49 mescalinum Exp $
+
+EAPI="2"
+
+inherit eutils multilib
+
+MY_P="Tix${PV}"
+DESCRIPTION="A widget library for Tcl/Tk. Has been ported to Python and Perl, too."
+HOMEPAGE="http://tix.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tix/${MY_P}-src.tar.gz"
+
+IUSE=""
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+RESTRICT="test"
+
+DEPEND=">=sys-apps/sed-4
+ >=dev-lang/tk-8.4
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXdmcp"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/"${P}-tcl85.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ # Bug 168897
+ insinto /usr/include; doins generic/tix.h
+ # Bug 201138
+ dosym ${MY_P}/lib${MY_P}.so /usr/$(get_libdir)/lib${MY_P}.so || die
+
+ dodoc ChangeLog README.txt docs/*.txt
+ dohtml -r index.html ABOUT.html docs/
+}