You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.5 KiB

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