# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-mixer/xfce4-mixer-4.0.3.ebuild,v 1.6 2004/03/09 23:51:50 agriffis Exp $ IUSE="alsa" S=${WORKDIR}/${P} DESCRIPTION="Xfce4 Mixer" HOMEPAGE="http://www.xfce.org/" SRC_URI="http://www.xfce.org/archive/xfce-${PV}/src/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="ia64 x86 ~ppc alpha sparc ~amd64 ~hppa ~mips" DEPEND=">=x11-libs/gtk+-2.0.6 dev-util/pkgconfig dev-libs/libxml2 alsa? ( media-libs/alsa-lib ) >=xfce-base/xfce4-base-${PV}" src_compile() { local myconf myconf="" use alsa && myconf="${myconf} --with-sound=alsa" econf ${myconf} || die emake || die } src_install() { make DESTDIR=${D} install || die dodoc AUTHORS INSTALL COPYING README TODO }