blob: 1680e3a2cd3f4472e8d19bf62d23c6768a5a8080 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/darkice/darkice-0.10.1.ebuild,v 1.3 2002/10/04 05:52:57 vapier Exp $
DESCRIPTION="IceCast live streamer delivering Ogg and mp3 streams simulatenously to multiple hosts."
HOMEPAGE="http://darkice.sourceforge.net/"
LICENSE="GPL-2"
DEPEND="encode? ( >=media-sound/lame-1.89 )
oggvorbis? ( >=media-libs/libvorbis-1.0 )"
SLOT="0"
KEYWORDS="x86"
SRC_URI="http://unc.dl.sourceforge.net/sourceforge/darkice/darkice-${PV}.tar.gz"
S=${WORKDIR}/${P}
src_compile() {
local myconf
use encode && myconf="--with-lame"
use oggvorbis && myconf="${myconf} --with-vorbis"
./configure ${myconf} \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info || die
emake || die
}
src_install() {
einstall darkicedocdir=${D}/usr/share/doc/${PF} || die
dodoc README TODO NEWS AUTHORS ChangeLog NEWS
}
|