# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="GTK+ and Gnome extension for the programming language Tcl" HOMEPAGE="http://sourceforge.net/projects/gnocl/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/tcl-8.4" RDEPEND="${DEPEND}" src_compile() { emake -C src || die "make failed" } src_install() { # fix for crappy install procedure DESTDIR="${D}`echo puts [info library] | tclsh`" \ emake -C src install || die "install failed" dodoc README license.terms }