diff options
Diffstat (limited to 'x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild')
-rw-r--r-- | x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild index 32fe2cb029f9..e519d6d76172 100644 --- a/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild +++ b/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild,v 1.5 2007/02/21 21:29:29 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-volume/gkrellm-volume-2.1.13.ebuild,v 1.6 2007/03/12 15:26:46 lack Exp $ -inherit multilib +inherit gkrellm-plugin IUSE="alsa" DESCRIPTION="A mixer control plugin for gkrellm" @@ -13,22 +13,15 @@ LICENSE="GPL-2" SLOT="2" KEYWORDS="~alpha ~amd64 ppc sparc x86" -DEPEND="=app-admin/gkrellm-2* - alsa? ( media-libs/alsa-lib )" +DEPEND="alsa? ( media-libs/alsa-lib )" S=${WORKDIR}/${PN} +PLUGIN_SO=volume.so + src_compile() { - if use alsa - then - make enable_alsa=1 || die "make failed" - else - make || die "make failed" - fi + local myconf="" + use alsa && myconf="${myconf} enable_alsa=1" + make ${myconf} || die "make failed" } -src_install() { - insinto /usr/$(get_libdir)/gkrellm2/plugins - doins volume.so - dodoc README Changelog -} |