Hi Sascha, cool. MPD is one of my favorites music player!
On Sat, Aug 31, 2013 at 02:57:21PM +0200, Sascha Hauer wrote: > Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> > --- > rules/mpd.in | 55 ++++++++++++++++++++++++++ > rules/mpd.make | 121 > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 176 insertions(+) > create mode 100644 rules/mpd.in > create mode 100644 rules/mpd.make > > diff --git a/rules/mpd.in b/rules/mpd.in > new file mode 100644 > index 0000000..24d63fb > --- /dev/null > +++ b/rules/mpd.in > @@ -0,0 +1,55 @@ > +## SECTION=multimedia_sound > + > +menuconfig MPD > + tristate > + prompt "Music Player Daemon (MPD) " > + select ALSA_LIB if MPD_ALSA > + select LIBID3TAG if MPD_ID3 > + select LIBMAD if MPD_MAD > + select MPG123 if MPD_MPG123 > + select LIBOGG if MPD_VORBIS > + select LIBVORBIS if MPD_VORBIS > + select FLAC if MPD_FLAC > + select LIBCURL if MPD_CURL > + select SQLITE if MPD_SQLITE > + help > + Music Player Daemon (MPD) is a flexible, powerful, server-side > + application for playing music. Through plugins and libraries it > + can play a variety of sound files while being controlled by its > + network protocol. ... > +# @$(call touch) > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/mpd.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, mpd) > + @$(call install_fixup, mpd,PRIORITY,optional) > + @$(call install_fixup, mpd,SECTION,base) > + @$(call install_fixup, mpd,AUTHOR,"Sascha Hauer > <s.ha...@pengutronix.de>") > + @$(call install_fixup, mpd,DESCRIPTION,missing) > + > + @$(call install_copy, mpd, 0, 0, 0755, $(MPD_DIR)/src/mpd, /usr/bin/mpd) > + Maybe we should add to install the mpdconf.example from doc directory to /etc/mpd.conf. Without the conf mpd doesn't start and it's simple to modify it and put it into the projectroot directory. - Alex -- ptxdist mailing list ptxdist@pengutronix.de