/[gentoo-x86]/media-sound/litestream/litestream-1.3_rc3.ebuild
Gentoo

Contents of /media-sound/litestream/litestream-1.3_rc3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Aug 3 13:01:53 2009 UTC (5 years ago) by ssuominen
Branch: MAIN
Changes since 1.4: +8 -13 lines
Quoting
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild,v 1.4 2007/08/11 17:41:22 armin76 Exp $
4
5 inherit eutils flag-o-matic toolchain-funcs
6
7 MY_P=${P/_rc/RC}
8
9 DESCRIPTION="Litstream is a lightweight and robust shoutcast-compatible streaming mp3 server."
10 HOMEPAGE="http://www.litestream.org/"
11 SRC_URI="http://litestream.org/litestream/${MY_P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc sparc x86"
16 IUSE=""
17
18 S=${WORKDIR}/${MY_P}
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 sed -i -e 's:CFLAGS = :CFLAGS = ${OPTFLAGS} :; s:-g::' \
24 Makefile || die "sed failed"
25 }
26
27 src_compile() {
28 append-flags "-DNO_VARARGS"
29 emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
30 }
31
32 src_install() {
33 dobin litestream literestream || die "dobin failed"
34 newbin source litestream-source
35 newbin server litestream-server
36 newbin client litestream-client
37
38 dodoc ABOUT ACKNOWLEDGEMENTS BUGS CHANGELOG CONTACT FILES MAKEITGO README
39 }

  ViewVC Help
Powered by ViewVC 1.1.20