blob: 4ddb89fcd6996e602b414dbe991f8a9da78dbc9f (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/kaconnect/kaconnect-1.1.1.ebuild,v 1.13 2009/08/03 12:58:50 ssuominen Exp $
EAPI=1
inherit qt3 toolchain-funcs eutils
DESCRIPTION="Part of Kalsatools - QT based frontend to aconnect"
HOMEPAGE="http://www.suse.de/~mana/kalsatools.html"
SRC_URI="ftp://ftp.suse.com/pub/people/mana/kalsatools-current/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE=""
RDEPEND="media-sound/alsa-utils
x11-libs/qt:3"
DEPEND="${RDEPEND}
sys-apps/sed"
src_unpack() {
unpack ${A}
sed -i -e 's:/usr/lib/qt3:/usr/qt/3:g' \
's:gcc:${CC} ${CFLAGS} ${LDFLAGS}:g' \
"${S}/make_kaconnect"
epatch "${FILESDIR}"/${P}-gcc41.patch
}
src_compile() {
emake CC="$(tc-getCC)" -f make_kaconnect || die "emake failed"
}
src_install () {
dobin kaconnect || die "dobin failed"
dodoc README THANKS kalsatools.changes
}
|