summaryrefslogtreecommitdiff
blob: 490932f477db731a52b1a5b1885f4f749e116d01 (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header $

S=${WORKDIR}/${P}
DESCRIPTION="Icecast is an Internet based broadcasting system based on the Mpeg Layer III streaming technology."
SRC_URI="http://www.icecast.org/releases/${P}.tar.gz"
HOMEPAGE="http://www.icecast.org"
KEYWORDS="x86 sparc sparc64"
LICENSE="GPL-2"
SLOT="0"

DEPEND="virtual/glibc"

src_compile() {

	local myconf

	use crypt && myconf="--with-crypt" || myconf="--without-crypt"

	./configure 	--with-libwrap              \
			${myconf}                   \
			--infodir=/usr/share/info   \
			--mandir=/usr/share/man     \
			--host=${CHOST} || die

	emake || die
}


src_install () {

	make DESTDIR=${D} install || die
	dodoc AUTHORS BUGS CHANGES COPYING FAQ INSTALL README TESTED TODO
}