blob: b7075e364f833495ed4021493504530d9863214c (
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
48
49
50
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/icecast-1.3.12-r1.ebuild,v 1.9 2004/06/24 23:49:30 agriffis Exp $
inherit eutils
DESCRIPTION="Internet based broadcasting system based on the mpeg3 streaming technology"
HOMEPAGE="http://www.icecast.org/"
SRC_URI="http://www.icecast.org/releases/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 -ppc sparc"
IUSE="crypt"
DEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-variables-gentoo.diff.bz2
epatch ${FILESDIR}/${PV}-errno.patch
}
src_compile() {
econf \
`use_with crypt` \
--with-libwrap \
--sysconfdir=/etc/icecast \
--localstatedir=/var \
|| die "configure failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} \
ICECAST_BINDIR=/usr/bin \
ICECAST_DOCDIR=/usr/share/doc/${P} \
ICECAST_ETCDIR=/etc/icecast \
ICECAST_ETCDIR_INST=/etc/icecast \
ICECAST_LOGDIR=/var/log/icecast \
ICECAST_LOGDIR_INST=/var/log/icecast \
ICECAST_SBINDIR=/usr/sbin \
ICECAST_STATICDIR=/usr/share/icecast/static \
ICECAST_STATICDIR_INST=/usr/share/icecast/static \
ICECAST_TEMPLATEDIR=/usr/share/icecast/templates \
ICECAST_TEMPLATEDIR_INST=/usr/share/icecast/templates \
install || die "make install failed"
dodoc AUTHORS BUGS CHANGES COPYING FAQ INSTALL README TESTED TODO
}
|