2 # Copyright (C) 2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
9 PKG_NAME:=lcd4linux-tew673gru
13 include $(INCLUDE_DIR)/package.mk
15 define Package/lcd4linux-tew673gru
18 DEPENDS:=@TARGET_ar71xx +kmod-spi-gpio +kmod-spi-dev +lcd4linux-custom
19 TITLE:=TRENDnet TEW673GRU LCD support
25 define Package/lcd4linux-tew673gru/install
26 $(INSTALL_DIR) $(1)/etc
27 $(INSTALL_DIR) $(1)/etc/uci-defaults
28 $(INSTALL_BIN) ./files/openwrt_220x176.png $(1)/etc/
29 $(INSTALL_BIN) ./files/lcd4linux_tew673gru.conf $(1)/etc/
30 $(INSTALL_BIN) ./files/tew673gru-lcd $(1)/etc/uci-defaults
33 $(eval $(call BuildPackage,lcd4linux-tew673gru))