summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:01:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-03 13:01:53 +0000
commitc064c8d5bdd95916624e5b74574af5d3d6b32764 (patch)
treea1c5231ab0cbea4464fce9d6355d156ca34c2ac3 /media-sound/litestream/litestream-1.3_rc3.ebuild
parentQuoting (diff)
downloadgentoo-2-c064c8d5bdd95916624e5b74574af5d3d6b32764.tar.gz
gentoo-2-c064c8d5bdd95916624e5b74574af5d3d6b32764.tar.bz2
gentoo-2-c064c8d5bdd95916624e5b74574af5d3d6b32764.zip
Quoting
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/litestream/litestream-1.3_rc3.ebuild')
-rw-r--r--media-sound/litestream/litestream-1.3_rc3.ebuild21
1 files changed, 8 insertions, 13 deletions
diff --git a/media-sound/litestream/litestream-1.3_rc3.ebuild b/media-sound/litestream/litestream-1.3_rc3.ebuild
index 1e6beb7ba5cb..13e6b7e10788 100644
--- a/media-sound/litestream/litestream-1.3_rc3.ebuild
+++ b/media-sound/litestream/litestream-1.3_rc3.ebuild
@@ -1,12 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild,v 1.4 2007/08/11 17:41:22 armin76 Exp $
-
-IUSE=""
+# $Header: /var/cvsroot/gentoo-x86/media-sound/litestream/litestream-1.3_rc3.ebuild,v 1.5 2009/08/03 13:01:53 ssuominen Exp $
inherit eutils flag-o-matic toolchain-funcs
-MY_P="${P/_rc/RC}"
+MY_P=${P/_rc/RC}
DESCRIPTION="Litstream is a lightweight and robust shoutcast-compatible streaming mp3 server."
HOMEPAGE="http://www.litestream.org/"
@@ -14,28 +12,25 @@ SRC_URI="http://litestream.org/litestream/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-# -amd64: 1.2 build errors - eradicator
KEYWORDS="~amd64 ~ppc sparc x86"
+IUSE=""
-DEPEND=""
-
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
-
+ cd "${S}"
sed -i -e 's:CFLAGS = :CFLAGS = ${OPTFLAGS} :; s:-g::' \
- ${S}/Makefile
+ Makefile || die "sed failed"
}
src_compile() {
append-flags "-DNO_VARARGS"
-
emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
}
src_install() {
- dobin litestream literestream
+ dobin litestream literestream || die "dobin failed"
newbin source litestream-source
newbin server litestream-server
newbin client litestream-client