Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/icecast-2.2.0.ebuild,v 1.6 2005/09/01 23:56:55 flameeyes Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/icecast/icecast-2.2.0.ebuild,v 1.6 2005/09/01 23:56:55 flameeyes Exp $ |
4 |
|
4 |
|
5 |
IUSE="yp" |
5 |
IUSE="theora yp" |
6 |
|
6 |
|
7 |
inherit eutils |
7 |
inherit eutils |
8 |
|
8 |
|
Lines 17-22
Link Here
|
17 |
DEPEND="dev-libs/libxslt |
17 |
DEPEND="dev-libs/libxslt |
18 |
media-libs/libogg |
18 |
media-libs/libogg |
19 |
media-libs/libvorbis |
19 |
media-libs/libvorbis |
|
|
20 |
theora? ( >=media-libs/libtheora-1.0_alpha4-r1 ) |
20 |
yp? ( net-misc/curl )" |
21 |
yp? ( net-misc/curl )" |
21 |
|
22 |
|
22 |
src_unpack() { |
23 |
src_unpack() { |
Lines 24-35
Link Here
|
24 |
cd ${S} |
25 |
cd ${S} |
25 |
|
26 |
|
26 |
epatch ${FILESDIR}/${PV}-gentoo.patch |
27 |
epatch ${FILESDIR}/${PV}-gentoo.patch |
|
|
28 |
epatch ${FILESDIR}/icecast-xml.patch |
27 |
} |
29 |
} |
28 |
|
30 |
|
29 |
src_compile() { |
31 |
src_compile() { |
30 |
|
32 |
|
31 |
econf \ |
33 |
econf \ |
32 |
--sysconfdir=/etc/icecast2 \ |
34 |
--sysconfdir=/etc/icecast2 \ |
|
|
35 |
--localstatedir=/var \ |
33 |
$(use_enable yp) \ |
36 |
$(use_enable yp) \ |
34 |
${myconf} || die "configure failed" |
37 |
${myconf} || die "configure failed" |
35 |
|
38 |
|
Lines 47-50
Link Here
|
47 |
fperms 600 /etc/icecast2/icecast.xml |
50 |
fperms 600 /etc/icecast2/icecast.xml |
48 |
|
51 |
|
49 |
rm -rf ${D}/usr/share/doc/icecast |
52 |
rm -rf ${D}/usr/share/doc/icecast |
|
|
53 |
|
54 |
dodir /var/log/icecast |
55 |
fperms 660 /var/log/icecast |
56 |
keepdir /var/log/icecast |
57 |
} |
58 |
|
59 |
pkg_preinst() { |
60 |
enewgroup ice |
61 |
enewuser ice -1 -1 -1 ice |
62 |
|
63 |
fowners ice:ice /var/log/icecast |
50 |
} |
64 |
} |