blob: f831371228a1e813a8d618a55e15eba1dd194619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2005 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.2 2005/04/27 20:22:33 herbs Exp $
inherit multilib
IUSE="alsa"
DESCRIPTION="A mixer control plugin for gkrellm"
HOMEPAGE="http://gkrellm.luon.net/volume.phtml"
SRC_URI="http://gkrellm.luon.net/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="2"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
DEPEND="=app-admin/gkrellm-2*
alsa? ( media-libs/alsa-lib )"
S=${WORKDIR}/${PN}
src_compile() {
if use alsa
then
make enable_alsa=1 || die "make failed"
else
make || die "make failed"
fi
}
src_install() {
insinto /usr/$(get_libdir)/gkrellm2/plugins
doins volume.so
dodoc README Changelog
}
|