summaryrefslogtreecommitdiff
blob: c51cbe4100a22f7b4bc345f9c234786f33b6148a (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.3 2004/04/01 07:57:10 eradicator Exp $

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}
IUSE=""
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
}