# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Tcl SASL interface" HOMEPAGE="http://beepcore-tcl.sourceforge.net/tclsasl.html" SRC_URI="http://tkabber.jabber.ru/files/dependencies/tclsasl.tgz" LICENSE="public-domain" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="threads" DEPEND=">=dev-libs/cyrus-sasl-2.0.0 dev-lang/tcl" src_compile() { opts="-with-cyrus-sasl=/usr/" myconf="$(use_enable amd64 64bit)" opts="${opts} $(use_enable threads)" econf ${opts} ${myconf} || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR=${D} install-binaries || die dodoc doc/tclsasl.html }