summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-03-24 22:53:14 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-03-24 22:53:14 +0000
commit64dfb872604de2ba626ba4cc330baefc7bd02534 (patch)
tree1103735b5cfd5a201c2aa4b3a58c9afb666a75c1 /media-sound/litestream/litestream-1.2.ebuild
parentAdded to ~ppc (diff)
downloadhistorical-64dfb872604de2ba626ba4cc330baefc7bd02534.tar.gz
historical-64dfb872604de2ba626ba4cc330baefc7bd02534.tar.bz2
historical-64dfb872604de2ba626ba4cc330baefc7bd02534.zip
Liteweight mp3 streaming server compatible with shoutcast protocol. Ebuild submitted by Adam Roben <aroben@fas.harvard.edu> in bug #35354.
Diffstat (limited to 'media-sound/litestream/litestream-1.2.ebuild')
-rw-r--r--media-sound/litestream/litestream-1.2.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/litestream/litestream-1.2.ebuild b/media-sound/litestream/litestream-1.2.ebuild
new file mode 100644
index 000000000000..cf76dd89cc25
--- /dev/null
+++ b/media-sound/litestream/litestream-1.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/litestream/litestream-1.2.ebuild,v 1.1 2004/03/24 22:53:14 eradicator Exp $
+
+inherit eutils
+
+DESCRIPTION="Litstream is a lightweight and robust shoutcast-compatible streaming mp3 server."
+HOMEPAGE="http://www.litestream.org/"
+SRC_URI="http://litestream.org/litestream/${P}.tar.gz"
+LICENSE="BSD"
+
+IUSE=""
+SLOT="0"
+
+KEYWORDS="~x86"
+
+DEPEND=""
+RDEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/vargs.h ${S}/include
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-Makefile.patch
+
+ append-flags "-DNO_VARARGS"
+ sed -i "s/CFLAGS = /CFLAGS = ${CFLAGS} /g" Makefile
+}
+
+src_compile() {
+ emake all || die
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe litestream literestream
+ newexe source litestream-source
+ newexe server litestream-server
+ newexe client litestream-client
+
+ dodoc ABOUT ACKNOWLEDGEMENTS BUGS CHANGELOG CONTACT FILES LICENSE MAKEITGO README
+}