summaryrefslogtreecommitdiff
blob: 48e10b2b0a187a0765084613d42bf2a010ccb1fa (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
42
43
44
45
46
47
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/rat/rat-4.2.25.ebuild,v 1.2 2005/07/25 19:10:17 dholm Exp $

IUSE=""

DESCRIPTION="Robust Audio Tool for audio conferencing and streaming"
HOMEPAGE="http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/"
SRC_URI="http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/${PV}/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~ppc ~sparc ~x86"

DEPEND="=dev-lang/tcl-8.4*
	=dev-lang/tk-8.4*"

RDEPEND="${DEPEND}
	 sys-apps/gawk"

src_unpack() {
	unpack ${A}
	sed -i 's:-Werror::g' ${S}/common/configure ${S}/rat/configure
}

src_compile() {
	cd ${S}/common
	econf || die
	emake || die

	cd ${S}/rat
	econf --with-tcltk-version=8.4 \
		--with-tcl=/usr \
		--with-tk=/usr || die
	emake || die
}

src_install() {
	cd ${S}/rat
	dobin rat-4.2.25
	dobin rat-4.2.25-ui
	dobin rat-4.2.25-media
	dodoc COPYRIGHT MODS README README.IXJ README.WB-ADPCM README.debug
	dodoc README.devices README.files README.g728 README.gsm
	dodoc README.mbus README.playout README.reporting-bugs
	dodoc README.settings README.timestamps README.voxlet VERSION
}