# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 MY_P="tkdnd-1.0a2" DESCRIPTION="TkDnD is an extension that adds native drag & drop capabilities to the tk toolkit." SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" HOMEPAGE="http://www.iit.demokritos.gr/~petasis/Tcl/" RESTRICT="test" SLOT="0" LICENSE="BSD" KEYWORDS="~amd64 x86" DEPEND=">=dev-lang/tcl-8.4 >=dev-lang/tk-8.4 " RDEPEND="${DEPEND}" src_compile() { #tkdnd.so is intalled by default in /usr/local/lib/tkdnd/libtkdnd.so # but is not by tcl when doing "package require tkdnd" myconf="$myconf --prefix=/usr" #the configure is in unix directory cd ${WORKDIR}/${MY_P}/unix/ econf ${myconf} || die emake || die }