Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Copyright (C) 2009-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:=lcdgrilo
  9. PKG_VERSION:=0.0.10
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  12. PKG_LICENSE:=GPL-2.0
  13. PKG_LICENSE_FILES:=COPYING
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. PKG_SOURCE_URL:=http://www.flyn.org/projects/lcdgrilo
  16. PKG_MD5SUM:=37b0b6519968c2949eae4abfc9030325
  17. PKG_BUILD_DEPENDS:=+vala
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/nls.mk
  21. define Package/lcdgrilo
  22. SECTION:=multimedia
  23. CATEGORY:=Multimedia
  24. DEPENDS:=+grilo +grilo-plugins +libgee +libgstreamer1
  25. TITLE:=lcdgrilo
  26. URL:=http://www.flyn.org/projects/lcdgrilo/
  27. endef
  28. define Package/lcdgrilo/decription
  29. A simple Grilo-based audio player meant to run on a Raspberry Pi with a PiFace CAD
  30. endef
  31. define Package/lcdgrilo/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_DIR) $(1)/etc/init.d
  34. $(CP) \
  35. $(PKG_INSTALL_DIR)/usr/bin/lcdgrilo \
  36. $(1)/usr/bin/
  37. $(INSTALL_BIN) ./files/lcdgrilo.init $(1)/etc/init.d/lcdgrilo
  38. endef
  39. $(eval $(call BuildPackage,lcdgrilo))