1 |
# Copyright 1999-2004 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/shout/shout-0.8.0-r1.ebuild,v 1.13 2004/08/08 14:09:29 kloeri Exp $ |
4 |
|
5 |
IUSE="" |
6 |
DESCRIPTION="Shout is a program for creating mp3 stream for use with icecast or shoutcast" |
7 |
SRC_URI="http://www.icecast.org/releases/${P}.tar.gz" |
8 |
HOMEPAGE="http://www.icecast.org" |
9 |
KEYWORDS="x86 sparc ~ppc" |
10 |
LICENSE="GPL-2" |
11 |
SLOT="0" |
12 |
|
13 |
DEPEND="virtual/libc" |
14 |
|
15 |
src_unpack() { |
16 |
|
17 |
unpack ${A} |
18 |
cd ${S} |
19 |
patch -p1 < ${FILESDIR}/variables.diff |
20 |
rm -f sock.o |
21 |
|
22 |
} |
23 |
|
24 |
src_compile() { |
25 |
|
26 |
./configure --prefix=/usr \ |
27 |
--host=${CHOST} \ |
28 |
--sysconfdir=/etc/shout \ |
29 |
--localstatedir=/var \ |
30 |
|| die "configure failed" |
31 |
|
32 |
emake || die "emake failed" |
33 |
} |
34 |
|
35 |
|
36 |
src_install () { |
37 |
make DESTDIR=${D} install || die |
38 |
dodoc BUGS CREDITS README.shout TODO |
39 |
} |