From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/litestream: litestream-1.3_rc3.ebuild |
Date: | Mon, 03 Aug 2009 13:01:55 |
Message-Id: | E1MXxAn-00045p-2W@stork.gentoo.org |
1 | ssuominen 09/08/03 13:01:53 |
2 | |
3 | Modified: litestream-1.3_rc3.ebuild |
4 | Log: |
5 | Quoting |
6 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.5 media-sound/litestream/litestream-1.3_rc3.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild?rev=1.5&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild?rev=1.5&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild?r1=1.4&r2=1.5 |
14 | |
15 | Index: litestream-1.3_rc3.ebuild |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild,v |
18 | retrieving revision 1.4 |
19 | retrieving revision 1.5 |
20 | diff -u -r1.4 -r1.5 |
21 | --- litestream-1.3_rc3.ebuild 11 Aug 2007 17:41:22 -0000 1.4 |
22 | +++ litestream-1.3_rc3.ebuild 3 Aug 2009 13:01:53 -0000 1.5 |
23 | @@ -1,12 +1,10 @@ |
24 | -# Copyright 1999-2007 Gentoo Foundation |
25 | +# Copyright 1999-2009 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild,v 1.4 2007/08/11 17:41:22 armin76 Exp $ |
28 | - |
29 | -IUSE="" |
30 | +# $Header: /var/cvsroot/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild,v 1.5 2009/08/03 13:01:53 ssuominen Exp $ |
31 | |
32 | inherit eutils flag-o-matic toolchain-funcs |
33 | |
34 | -MY_P="${P/_rc/RC}" |
35 | +MY_P=${P/_rc/RC} |
36 | |
37 | DESCRIPTION="Litstream is a lightweight and robust shoutcast-compatible streaming mp3 server." |
38 | HOMEPAGE="http://www.litestream.org/" |
39 | @@ -14,28 +12,25 @@ |
40 | |
41 | LICENSE="BSD" |
42 | SLOT="0" |
43 | -# -amd64: 1.2 build errors - eradicator |
44 | KEYWORDS="~amd64 ~ppc sparc x86" |
45 | +IUSE="" |
46 | |
47 | -DEPEND="" |
48 | - |
49 | -S="${WORKDIR}/${MY_P}" |
50 | +S=${WORKDIR}/${MY_P} |
51 | |
52 | src_unpack() { |
53 | unpack ${A} |
54 | - |
55 | + cd "${S}" |
56 | sed -i -e 's:CFLAGS = :CFLAGS = ${OPTFLAGS} :; s:-g::' \ |
57 | - ${S}/Makefile |
58 | + Makefile || die "sed failed" |
59 | } |
60 | |
61 | src_compile() { |
62 | append-flags "-DNO_VARARGS" |
63 | - |
64 | emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die |
65 | } |
66 | |
67 | src_install() { |
68 | - dobin litestream literestream |
69 | + dobin litestream literestream || die "dobin failed" |
70 | newbin source litestream-source |
71 | newbin server litestream-server |
72 | newbin client litestream-client |