[packages_10.03.1] collectd: backport r29404
[openwrt/svn-archive/archive.git] / utils / retutahvo / Makefile
1 #
2 # Copyright (C) 2010 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:=retutahvo
11 PKG_RELEASE:=1
12
13 PKG_SOURCE_SUBDIR:=$(PKG_NAME)
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/retutahvo
18 SECTION:=utils
19 CATEGORY:=Utilities
20 TITLE:=Retu/Tahvo userspace tool
21 DEPENDS:=@TARGET_omap24xx
22 MAINTAINER:=Michael Buesch <mb@bu3sch.de>
23 endef
24
25 define Package/retutahvo/description
26 Nokia n810 Retu/Tahvo userspace tool.
27 Warning: Do not use this, if you don't know what you're doing.
28 This tool can physically damage the n810.
29 endef
30
31 define Build/Prepare
32 mkdir -p $(PKG_BUILD_DIR)
33 $(CP) ./files/src/* $(PKG_BUILD_DIR)/
34 endef
35
36 define Package/retutahvo/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/retutahvo $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,retutahvo))