python: fix disabling the SSL module
[buildroot-gz.git] / package / upmpdcli / upmpdcli.mk
blob83efa0530b7e49bf25a0138b2bd8afde28e3764a
1 ################################################################################
3 # upmpdcli
5 ################################################################################
7 UPMPDCLI_VERSION = 1.2.12
8 UPMPDCLI_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
9 UPMPDCLI_LICENSE = GPLv2+
10 UPMPDCLI_LICENSE_FILES = COPYING
11 UPMPDCLI_DEPENDENCIES = host-pkgconf libmpdclient libupnpp libmicrohttpd jsoncpp
13 # Upmpdcli only runs if user upmpdcli exists
14 define UPMPDCLI_USERS
15 upmpdcli -1 upmpdcli -1 * - - - Upmpdcli MPD UPnP Renderer Front-End
16 endef
18 define UPMPDCLI_INSTALL_INIT_SYSV
19 $(INSTALL) -D -m 0755 package/upmpdcli/S99upmpdcli $(TARGET_DIR)/etc/init.d/S99upmpdcli
20 endef
22 define UPMPDCLI_INSTALL_INIT_SYSTEMD
23 $(INSTALL) -D -m 644 $(@D)/systemd/upmpdcli.service \
24 $(TARGET_DIR)/usr/lib/systemd/system/upmpdcli.service
25 mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
26 ln -sf ../../../../usr/lib/systemd/system/upmpdcli.service \
27 $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/upmpdcli.service
28 endef
30 define UPMPDCLI_INSTALL_CONF_FILE
31 $(INSTALL) -D -m 0755 $(@D)/src/upmpdcli.conf-dist $(TARGET_DIR)/etc/upmpdcli.conf
32 endef
34 UPMPDCLI_POST_INSTALL_TARGET_HOOKS += UPMPDCLI_INSTALL_CONF_FILE
36 $(eval $(autotools-package))