/[gentoo-x86]/net-misc/ices/ices-2.0.1-r1.ebuild
Gentoo

Contents of /net-misc/ices/ices-2.0.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sun Aug 10 20:44:30 2014 UTC (5 years, 9 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ices/ices-2.0.1-r1.ebuild,v 1.7 2012/08/12 13:21:19 chithanh Exp $
4
5 inherit eutils user
6
7 DESCRIPTION="Icecast OGG streaming client, supports on the fly re-encoding"
8 HOMEPAGE="http://www.icecast.org/ices.php"
9 SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~alpha amd64 ~arm ppc64 sparc x86"
14 IUSE=""
15
16 RDEPEND="dev-libs/libxml2
17 >=media-libs/libshout-2
18 >=media-libs/libvorbis-1"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 pkg_setup() {
23 enewgroup ices
24 enewuser ices -1 -1 -1 ices
25 }
26
27 src_compile() {
28 econf --sysconfdir=/etc/ices2
29 emake || die "emake failed."
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install || die "emake install failed."
34 dodoc AUTHORS README TODO
35 insinto /etc/ices2
36 doins conf/*.xml
37 dohtml doc/*.{html,css}
38 newman debian/ices2.1 ices.1
39 newinitd "${FILESDIR}"/ices.initd ices
40 keepdir /var/log/ices
41 fperms 660 /var/log/ices
42 fowners ices:ices /var/log/ices
43 rm -rf "${D}"/usr/share/ices
44 }

  ViewVC Help
Powered by ViewVC 1.1.20