blob: 1e231eda79d421befb2ff2100f74582604ed49d2 (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/daudio/daudio-0.3.ebuild,v 1.8 2006/03/07 14:20:35 flameeyes Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Distributed audio on the local network"
HOMEPAGE="http://daudio.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
#-sparc: 0.3: static audio on local daemon. No audio when client connects to amd64 daemon
KEYWORDS="amd64 ~ppc -sparc x86"
IUSE=""
DEPEND=">=media-libs/libmad-0.15.0b-r1"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-makefile.patch"
}
src_compile() {
tc-export CC
emake -C client || die "emake failed"
emake -C server || die "emake failed"
emake -C streamer || die "emake failed"
}
src_install() {
dobin client/daudioc server/daudiod streamer/dstreamer
exeinto /etc/init.d
newexe ${FILESDIR}/daudio.rc daudio
dodoc doc/*
}
|