# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/phat/phat-0.4.0.ebuild,v 1.2 2006/10/28 01:10:37 flameeyes Exp $ IUSE="debug doc" DESCRIPTION="PHAT is a collection of GTK+ widgets geared toward pro-audio apps." HOMEPAGE="http://phat.berlios.de/" SRC_URI="http://download.berlios.de/phat/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~sparc ~x86" RDEPEND=">=x11-libs/gtk+-2.4" DEPEND="${RDEPEND} dev-util/pkgconfig" src_compile() { econf $(use_enable debug) \ $(use_enable doc gtk-doc) || die emake || die } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS ChangeLog NEWS README TODO }