summaryrefslogtreecommitdiff
blob: bfc87427441fb868e102f49861f80b70d975abe9 (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
35
36
37
38
39
40
41
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/sbconf/sbconf-1.0.ebuild,v 1.5 2004/07/09 09:21:19 eradicator Exp $

IUSE="debug"

inherit gnome2 eutils

DESCRIPTION="Sbconf is a GUI of emu-tools which is a tools to configure your soundblaster card"
HOMEPAGE="http://w3.enternet.hu/televeny/sbconf/sbconf.html"
SRC_URI="http://w3.enternet.hu/televeny/sbconf/${PN}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="-* x86"
SLOT="0"

S=${WORKDIR}/${PN}
DEPEND="
	>=x11-libs/gtk+-2.0.0
	media-sound/emu10k1
	>=gnome-base/libgnome-2.0.0
	>=gnome-base/libglade-2.0.0"

src_unpack() {
	unpack ${A}
	cd ${S}/src
	epatch ${FILESDIR}/sbconf-gentoo-path.diff
}

src_compile() {
	./configure \
		--host=${CHOST} \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man || die "./configure failed"
	emake || die
}

src_install() {
	einstall || die
}