# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils toolchain-funcs DESCRIPTION="libconvey is a small UI abstraction layer for programs that want a basic user interface with the minimum of fuss." HOMEPAGE="http://casual-tempest.net/projects/convey/" SRC_URI="http://casual-tempest.net/projects/convey/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~sparc ~x86 ~amd64" IUSE="gtk2 motif qt4" DEPEND="virtual/libc motif? ( x11-libs/openmotif ) gtk2? ( >=x11-libs/gtk+-2.0 ) qt4? ( >=x11-libs/qt-4.0 ) RDEPEND="" src_compile() { econf $(use_with motif) $(use_with gtk2) $(use_with qt4)|| die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed." }