summaryrefslogtreecommitdiff
blob: 794bce0c11a70e06b74439e988574d6431d2ef3f (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Chris Arndt <arndtc@mailandnews.com>
# $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"
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
}