summaryrefslogtreecommitdiff
blob: 36ed779926460f9c1fdf224bdc9b1a84c81a3cb8 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/k3guitune/k3guitune-0.4.1.ebuild,v 1.5 2004/10/15 09:18:03 eradicator Exp $

IUSE="alsa oss debug xinerama"

DESCRIPTION="A program for KDE 3 that lets you tune musical instruments."
HOMEPAGE="http://home.planet.nl/~lamer024/k3guitune.html"
SRC_URI="http://home.planet.nl/~lamer024/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc amd64"

DEPEND=">=kde-base/kdelibs-3
	kde-base/arts
	alsa? ( media-libs/alsa-lib )"

src_compile() {
	local myconf
	myconf="$(use_enable alsa) $(use_enable oss) $(use_enable debug) $(use_with xinerama)"
	econf ${myconf} || die
	emake || die
}

src_install() {
	make DESTDIR="${D}" install || die
	dodoc AUTHORS COPYING ChangeLog INSTALL README TODO
}