|
@@ -0,0 +1,50 @@
|
|
1
|
+#
|
|
2
|
+# Copyright (C) 2014 OpenWrt.org
|
|
3
|
+#
|
|
4
|
+# This is free software, licensed under the GNU General Public License v2.
|
|
5
|
+# See /LICENSE for more information.
|
|
6
|
+#
|
|
7
|
+
|
|
8
|
+include $(TOPDIR)/rules.mk
|
|
9
|
+
|
|
10
|
+PKG_NAME:=upmpdcli
|
|
11
|
+PKG_VERSION:=0.9.0
|
|
12
|
+PKG_RELEASE:=1
|
|
13
|
+
|
|
14
|
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
15
|
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
16
|
+PKG_SOURCE_URL:=http://www.lesbonscomptes.com/upmpdcli/downloads
|
|
17
|
+PKG_MD5SUM:=0e7b86037f19ea3a08067409af6f6902
|
|
18
|
+PKG_MAINTAINER:=Petko Bordjukov <bordjukov@gmail.com>
|
|
19
|
+PKG_LICENSE:=GPL-2.0
|
|
20
|
+PKG_LICENSE_FILES:=COPYING
|
|
21
|
+
|
|
22
|
+PKG_INSTALL:=1
|
|
23
|
+
|
|
24
|
+include $(INCLUDE_DIR)/package.mk
|
|
25
|
+
|
|
26
|
+define Package/upmpdcli
|
|
27
|
+ SECTION:=multimedia
|
|
28
|
+ CATEGORY:=Multimedia
|
|
29
|
+ URL:=http://www.lesbonscomptes.com/upmpdcli
|
|
30
|
+ DEPENDS+= +libupnpp +libmpdclient
|
|
31
|
+ TITLE:=A UPnP front-end to MPD, the Music Player Daemon
|
|
32
|
+ USERID:=upmpdcli=89:upmpdcli=89
|
|
33
|
+endef
|
|
34
|
+
|
|
35
|
+define Package/upmpdcli/description
|
|
36
|
+upmpdcli implements an UPnP Media Renderer, using MPD to perform the real work.
|
|
37
|
+endef
|
|
38
|
+
|
|
39
|
+define Package/upmpdcli/install
|
|
40
|
+ $(INSTALL_DIR) $(1)/etc
|
|
41
|
+ $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/upmpdcli.conf $(1)/etc/
|
|
42
|
+ $(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/
|
|
46
|
+ $(INSTALL_DIR) $(1)/etc/init.d
|
|
47
|
+ $(INSTALL_BIN) ./files/upmpdcli.init $(1)/etc/init.d/upmpdcli
|
|
48
|
+endef
|
|
49
|
+
|
|
50
|
+$(eval $(call BuildPackage,upmpdcli))
|