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.

53 lines
1.6 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=upmpdcli
  9. PKG_VERSION:=0.9.0
  10. PKG_RELEASE:=2
  11. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_SOURCE_URL:=http://www.lesbonscomptes.com/upmpdcli/downloads
  14. PKG_MD5SUM:=0e7b86037f19ea3a08067409af6f6902
  15. PKG_MAINTAINER:=Petko Bordjukov <bordjukov@gmail.com>
  16. PKG_LICENSE:=GPL-2.0
  17. PKG_LICENSE_FILES:=COPYING
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/upmpdcli
  21. SECTION:=multimedia
  22. CATEGORY:=Multimedia
  23. URL:=http://www.lesbonscomptes.com/upmpdcli
  24. DEPENDS+= +libupnpp +libmpdclient
  25. TITLE:=A UPnP front-end to MPD, the Music Player Daemon
  26. USERID:=upmpdcli=89:upmpdcli=89
  27. endef
  28. define Package/upmpdcli/description
  29. upmpdcli implements an UPnP Media Renderer, using MPD to perform the real work.
  30. endef
  31. define Package/upmpdcli/install
  32. $(INSTALL_DIR) $(1)/etc
  33. $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/upmpdcli.conf $(1)/etc/
  34. $(INSTALL_DIR) $(1)/etc/config
  35. $(INSTALL_CONF) ./files/upmpdcli.config $(1)/etc/config/upmpdcli
  36. $(INSTALL_DIR) $(1)/usr/bin
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/upmpdcli $(1)/usr/bin/
  38. $(INSTALL_DIR) $(1)/usr/share/upmpdcli
  39. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/upmpdcli/* $(1)/usr/share/upmpdcli/
  40. $(INSTALL_DATA) ./files/upmpdcli.png $(1)/usr/share/upmpdcli/
  41. $(INSTALL_DIR) $(1)/etc/init.d
  42. $(INSTALL_BIN) ./files/upmpdcli.init $(1)/etc/init.d/upmpdcli
  43. endef
  44. $(eval $(call BuildPackage,upmpdcli))