Makefile 1.3 KB

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