vim: moved to github
[openwrt/svn-archive/archive.git] / utils / lcd4linux-tew673gru / Makefile
1 #
2 # Copyright (C) 2012 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
9 PKG_NAME:=lcd4linux-tew673gru
10 PKG_VERSION:=1
11 PKG_RELEASE:=1
12
13 include $(INCLUDE_DIR)/package.mk
14
15 define Package/lcd4linux-tew673gru
16 SECTION:=utils
17 CATEGORY:=Utilities
18 DEPENDS:=@TARGET_ar71xx +kmod-spi-gpio +kmod-spi-dev +lcd4linux-custom
19 TITLE:=TRENDnet TEW673GRU LCD support
20 endef
21
22 define Build/Compile
23 endef
24
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
31 endef
32
33 $(eval $(call BuildPackage,lcd4linux-tew673gru))