2014-07-14 22:52:47 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# upmpdcli
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-21 22:12:00 +02:00
|
|
|
UPMPDCLI_VERSION = 0.8.5
|
2014-07-14 22:52:47 +02:00
|
|
|
UPMPDCLI_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
|
|
|
|
UPMPDCLI_LICENSE = GPLv2+
|
|
|
|
UPMPDCLI_LICENSE_FILES = COPYING
|
2014-10-21 22:12:00 +02:00
|
|
|
UPMPDCLI_DEPENDENCIES = libmpdclient libupnpp
|
2014-07-14 22:52:47 +02:00
|
|
|
|
|
|
|
# Upmpdcli only runs if user upmpdcli exists
|
|
|
|
define UPMPDCLI_USERS
|
|
|
|
upmpdcli -1 upmpdcli -1 * - - - Upmpdcli MPD UPnP Renderer Front-End
|
|
|
|
endef
|
|
|
|
|
|
|
|
define UPMPDCLI_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -D -m 0755 package/upmpdcli/S99upmpdcli $(TARGET_DIR)/etc/init.d/S99upmpdcli
|
|
|
|
endef
|
|
|
|
|
|
|
|
define UPMPDCLI_INSTALL_CONF_FILE
|
2014-10-21 22:12:00 +02:00
|
|
|
$(INSTALL) -D -m 0755 $(@D)/src/upmpdcli.conf $(TARGET_DIR)/etc/upmpdcli.conf
|
2014-07-14 22:52:47 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
UPMPDCLI_POST_INSTALL_TARGET_HOOKS += UPMPDCLI_INSTALL_CONF_FILE
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|