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.

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