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.

55 lines
1.3 KiB

  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:=lcdringer
  9. PKG_VERSION:=0.0.3
  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:=https://www.flyn.org/projects/lcdringer
  16. PKG_HASH:=72f34473a62f997516e0a73827b4400150966e1d1d98ece4d7b92075e26913e0
  17. PKG_BUILD_DEPENDS:=vala
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_INSTALL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. include $(INCLUDE_DIR)/nls.mk
  22. define Package/lcdringer
  23. SECTION:=network
  24. CATEGORY:=Network
  25. DEPENDS:=+libgee +libgstreamer1 +loudmouth @TARGET_brcm2708
  26. TITLE:=lcdringer
  27. URL:=https://www.flyn.org/projects/lcdringer/
  28. endef
  29. define Package/lcdringer/decription
  30. A simple Jabber-initiated ringer meant to run on a Raspberry Pi with a PiFace CAD
  31. endef
  32. define Package/lcdringer/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_DIR) $(1)/etc/init.d
  35. $(CP) \
  36. $(PKG_INSTALL_DIR)/usr/bin/lcdringer \
  37. $(1)/usr/bin/
  38. $(INSTALL_BIN) ./files/lcdringer.init $(1)/etc/init.d/lcdringer
  39. $(INSTALL_DIR) $(1)/usr/share/lcdringer
  40. $(CP) \
  41. $(PKG_INSTALL_DIR)/usr/share/lcdringer/* \
  42. $(1)/usr/share/lcdringer
  43. endef
  44. $(eval $(call BuildPackage,lcdringer))