summaryrefslogtreecommitdiff
blob: 84e0680d0b4584289c73f4f8ac2265aaac2a3742 (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.2 2004/03/01 05:37:16 eradicator Exp $

inherit gnome2

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
}