|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
9
|
9
|
|
10
|
10
|
PKG_NAME:=upmpdcli
|
11
|
11
|
PKG_VERSION:=0.9.0
|
12
|
|
-PKG_RELEASE:=1
|
|
12
|
+PKG_RELEASE:=2
|
13
|
13
|
|
14
|
14
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
15
|
15
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
@@ -39,10 +39,13 @@ endef
|
39
|
39
|
define Package/upmpdcli/install
|
40
|
40
|
$(INSTALL_DIR) $(1)/etc
|
41
|
41
|
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/upmpdcli.conf $(1)/etc/
|
|
42
|
+ $(INSTALL_DIR) $(1)/etc/config
|
|
43
|
+ $(INSTALL_CONF) ./files/upmpdcli.config $(1)/etc/config/upmpdcli
|
42
|
44
|
$(INSTALL_DIR) $(1)/usr/bin
|
43
|
|
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/upmpdcli $(1)/usr/bin/
|
44
|
|
- $(INSTALL_DIR) $(1)/usr/share
|
45
|
|
- $(CP) $(PKG_INSTALL_DIR)/usr/share/upmpdcli $(1)/usr/share/
|
|
45
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/upmpdcli $(1)/usr/bin/
|
|
46
|
+ $(INSTALL_DIR) $(1)/usr/share/upmpdcli
|
|
47
|
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/upmpdcli/* $(1)/usr/share/upmpdcli/
|
|
48
|
+ $(INSTALL_DATA) ./files/upmpdcli.png $(1)/usr/share/upmpdcli/
|
46
|
49
|
$(INSTALL_DIR) $(1)/etc/init.d
|
47
|
50
|
$(INSTALL_BIN) ./files/upmpdcli.init $(1)/etc/init.d/upmpdcli
|
48
|
51
|
endef
|