From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SGFLN-0003hw-Oe for ptxdist@pengutronix.de; Fri, 06 Apr 2012 22:01:13 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SGFLN-00022L-Mv for ptxdist@pengutronix.de; Fri, 06 Apr 2012 22:01:13 +0200 Date: Fri, 6 Apr 2012 22:01:13 +0200 From: Michael Olbrich Message-ID: <20120406200113.GC28453@pengutronix.de> References: <1333716320-7923-1-git-send-email-jbe@pengutronix.de> <1333716320-7923-6-git-send-email-jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1333716320-7923-6-git-send-email-jbe@pengutronix.de> Subject: Re: [ptxdist] [PATCH 5/5] Add ices Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Fri, Apr 06, 2012 at 02:45:20PM +0200, Juergen Beisert wrote: > Signed-off-by: Juergen Beisert > --- > generic/etc/ices.conf | 78 +++++++++++++++++++++++++++++++++++++++++++++++++ > rules/ices.in | 33 +++++++++++++++++++++ > rules/ices.make | 71 ++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 182 insertions(+) > create mode 100644 generic/etc/ices.conf > create mode 100644 rules/ices.in > create mode 100644 rules/ices.make > > diff --git a/generic/etc/ices.conf b/generic/etc/ices.conf > new file mode 100644 > index 0000000..b58f71a > --- /dev/null > +++ b/generic/etc/ices.conf > @@ -0,0 +1,78 @@ > + > + > + > + > + playlist.txt > + > + 1 > + > + builtin > + > + ices > + > + > + > + > + > + 0 > + > + 0 > + > + /tmp > + > + > + > + > + > + localhost > + > + 8000 > + > + letmein > + > + http > + > + > + > + /ices > + > + > + Default stream > + > + Default genre > + > + Default description > + > + http://localhost/ > + > + 0 > + > + > + 128 > + > + 0 > + > + > + 2 > + > + > diff --git a/rules/ices.in b/rules/ices.in > new file mode 100644 > index 0000000..966fe6c > --- /dev/null > +++ b/rules/ices.in > @@ -0,0 +1,33 @@ > +## SECTION=applications > + > +menuconfig ICES > + tristate > + prompt "ices " > + select LIBVORBIS if ICES_VORBIS > + select LIBXML2 > + select PYTHON if ICES_PYTHON > + select LAME if ICES_LAME please indent. > + help > + Ices is a tool sending an MP3 stream to an icecast server > + > +if ICES > + > +config ICES_VORBIS > + bool > + prompt "support VORBIS" > + help > + Enable support for VORBIS data format > + > +config ICES_PYTHON > + bool > + prompt "enable python support" > + help > + Enable python based scripting support > + > +config ICES_LAME > + bool > + prompt "enable lame support" > + help > + Enable MP3 lame support > + > +endif > diff --git a/rules/ices.make b/rules/ices.make > new file mode 100644 > index 0000000..a5687ae > --- /dev/null > +++ b/rules/ices.make > @@ -0,0 +1,71 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2012 by Juergen Beisert > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_ICES) += ices > + > +# > +# Paths and names > +# > +ICES_VERSION := 0.4 Any reason for this version? I see 2.0.1, or is that something else? > +ICES_MD5 := d31450c4011561dae0229f071cb41cb6 > +ICES := ices-$(ICES_VERSION) > +ICES_SUFFIX := tar.gz > +ICES_URL := http://downloads.us.xiph.org/releases/ices/$(ICES).$(ICES_SUFFIX) > +ICES_SOURCE := $(SRCDIR)/$(ICES).$(ICES_SUFFIX) > +ICES_DIR := $(BUILDDIR)/$(ICES) > +ICES_LICENSE := GPLv2 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# autoconf > +# > +ICES_CONF_TOOL := autoconf > +ICES_CONF_OPT := \ > + $(CROSS_AUTOCONF_USR) \ > + --enable-shared \ > + --disable-static \ > + --$(call ptx/wwo,PTXCONF_ICES_PYTHON)-python \ > + --without-perl \ > + --$(call ptx/wwo,PTXCONF_ICES_LAME)-lame \ > + --$(call ptx/wwo,PTXCONF_ICES_VORBIS)-vorbis \ > + --without-faad \ > + --without-flac > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/ices.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, ices) > + @$(call install_fixup, ices,PRIORITY,optional) > + @$(call install_fixup, ices,SECTION,base) > + @$(call install_fixup, ices,AUTHOR,"Juergen Beisert ") > + @$(call install_fixup, ices,DESCRIPTION,missing) > + > + @$(call install_alternative, ices, 0, 0, 0644, /etc/ices.conf) > +ifdef PTXCONF_ICES_PYTHON > + @$(call install_copy, ices, 0, 0, 0755, /etc/modules) > + @$(call install_copy, ices, 0, 0, 0755, -, /etc/modules/ices.py.dist) This is not good. It clashes with /etc/modules for kernel modules. Michael > +endif > + @$(call install_copy, ices, 0, 0, 0755, -, /usr/bin/ices) > + > + @$(call install_finish, ices) > + > + @$(call touch) > + > +# vim: syntax=make > -- > 1.7.9.5 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de