summaryrefslogtreecommitdiff
blob: bfe7f2dfcc9b9ab09d72e90904791cd705b09905 (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Packaged by Blake Watters <sbw@ibiblio.org>

S=${WORKDIR}/${P}
DESCRIPTION="A streaming media server capable of delivering ogg-vorbis streams."
SRC_URI="http://ibiblio.org/sbw/gentoo/icecast2-08072002.tar.bz2"
HOMEPAGE="http://www.icecast.org"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "

DEPEND=">=media-libs/libvorbis-1.0
		>=dev-libs/libxml-1.8.0"


src_compile() {	

	econf || die

	emake || die
}

src_install() {	
	dodoc README AUTHORS HACKING COPYING TODO
	
	exeinto /usr/bin
	newexe src/icecast icecast2

	insinto /etc
	doins ${FILESDIR}/icecast2.xml
}

pkg_postinst() {
	einfo "Please edit the configuration file located at /etc/icecast2.xml"
    einfo "to configure your icecast2 server. Execute with icecast2 -c /etc/icecast2.xml"
    einfo "to start your streaming server."
    einfo
}