@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := mpd
PKG_VERSION := 0.18.16
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE_URL := http://www.musicpd.org/download/mpd/0.18/
@ -63,7 +63,6 @@ $(call Package/mpd/Default/description)
e n d e f
d e f i n e P a c k a g e / m p d - f u l l / c o n f f i l e s
/ e t c / a v a h i / s e r v i c e s / m p d . s e r v i c e
/ e t c / m p d . c o n f
e n d e f
@ -85,6 +84,23 @@ define Package/mpd-mini/conffiles
/ e t c / m p d . c o n f
e n d e f
d e f i n e P a c k a g e / m p d - a v a h i - s e r v i c e
$( call Package /mpd /Default )
TITLE += ( Avahi service)
DEPENDS += +avahi-daemon
e n d e f
d e f i n e P a c k a g e / m p d - a v a h i - s e r v i c e / d e s c r i p t i o n
$( call Package /mpd /Default /description )
.
This package contains the service definition for announcing the
Music Player Daemon service via mDNS/DNS-SD.
e n d e f
d e f i n e P a c k a g e / m p d - a v a h i - s e r v i c e / c o n f f i l e s
/ e t c / a v a h i / s e r v i c e s / m p d . s e r v i c e
e n d e f
CONFIGURE_ARGS += \
$( call autoconf_bool,CONFIG_IPV6,ipv6) \
--disable-debug \
@ -198,13 +214,17 @@ endef
d e f i n e P a c k a g e / m p d - f u l l / i n s t a l l
$( call Package /mpd /install ,$ 1)
$( INSTALL_DIR) $( 1) /etc/avahi/services
$( INSTALL_DATA) ./files/mpd.service $( 1) /etc/avahi/services/
e n d e f
d e f i n e P a c k a g e / m p d - m i n i / i n s t a l l
$( call Package /mpd /install ,$ 1)
e n d e f
d e f i n e P a c k a g e / m p d - a v a h i - s e r v i c e / i n s t a l l
$( INSTALL_DIR) $( 1) /etc/avahi/services
$( INSTALL_DATA) ./files/mpd.service $( 1) /etc/avahi/services/
e n d e f
$( eval $ ( call BuildPackage ,mpd -full ) )
$( eval $ ( call BuildPackage ,mpd -mini ) )
$( eval $ ( call BuildPackage ,mpd -avahi -service ) )