summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/litestream')
-rw-r--r--media-sound/litestream/Manifest1
-rw-r--r--media-sound/litestream/litestream-1.3_rc3.ebuild39
-rw-r--r--media-sound/litestream/metadata.xml5
3 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/litestream/Manifest b/media-sound/litestream/Manifest
new file mode 100644
index 000000000000..1248f26dab61
--- /dev/null
+++ b/media-sound/litestream/Manifest
@@ -0,0 +1 @@
+DIST litestream-1.3RC3.tar.gz 25018 SHA256 ee3edf1ea89a90f2b7f82ad09b83c25dc8ea8ca7cf0fce2aa921f897929b2bb9
diff --git a/media-sound/litestream/litestream-1.3_rc3.ebuild b/media-sound/litestream/litestream-1.3_rc3.ebuild
new file mode 100644
index 000000000000..22d01fc538c4
--- /dev/null
+++ b/media-sound/litestream/litestream-1.3_rc3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils flag-o-matic toolchain-funcs
+
+MY_P=${P/_rc/RC}
+
+DESCRIPTION="Litstream is a lightweight and robust shoutcast-compatible streaming mp3 server"
+HOMEPAGE="http://www.litestream.org/"
+SRC_URI="http://litestream.org/litestream/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc sparc x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's:CFLAGS = :CFLAGS = ${OPTFLAGS} :; s:-g::' \
+ Makefile || die "sed failed"
+}
+
+src_compile() {
+ append-flags "-DNO_VARARGS"
+ emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
+}
+
+src_install() {
+ dobin litestream literestream || die "dobin failed"
+ newbin source litestream-source
+ newbin server litestream-server
+ newbin client litestream-client
+
+ dodoc ABOUT ACKNOWLEDGEMENTS BUGS CHANGELOG CONTACT FILES MAKEITGO README
+}
diff --git a/media-sound/litestream/metadata.xml b/media-sound/litestream/metadata.xml
new file mode 100644
index 000000000000..e1774e3d9ad7
--- /dev/null
+++ b/media-sound/litestream/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+</pkgmetadata>