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