1 ################################################################################
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
15 upmpdcli
-1 upmpdcli
-1 * - - - Upmpdcli MPD UPnP Renderer Front-End
18 define UPMPDCLI_INSTALL_INIT_SYSV
19 $(INSTALL
) -D
-m
0755 package
/upmpdcli
/S99upmpdcli
$(TARGET_DIR
)/etc
/init.d
/S99upmpdcli
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
30 define UPMPDCLI_INSTALL_CONF_FILE
31 $(INSTALL
) -D
-m
0755 $(@D
)/src
/upmpdcli.conf-dist
$(TARGET_DIR
)/etc
/upmpdcli.conf
34 UPMPDCLI_POST_INSTALL_TARGET_HOOKS
+= UPMPDCLI_INSTALL_CONF_FILE
36 $(eval
$(autotools-package
))