# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils toolchain-funcs DESCRIPTION="Envoy is standalone file-associations registry that provides a central place to remember what programs to open which files with." HOMEPAGE="http://casual-tempest.net/projects/envoy/" SRC_URI="http://casual-tempest.net/projects/envoy/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~sparc ~x86 ~amd64" IUSE="gtk2 motif" DEPEND="virtual/libc motif? ( x11-libs/openmotif ) gtk2? ( >=x11-libs/gtk+-2.0 ) =dev-db/sqlite-3*" RDEPEND="" src_compile() { econf $(use_with motif) $(use_with gtk2) || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed." dodoc envoy/README }