[package] add uboot-envtools
[openwrt/svn-archive/archive.git] / package / uboot-envtools / Makefile
1 #
2 # Copyright (C) 2009 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:=uboot-envtools
11 PKG_VERSION:=20081215
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15 PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/u/uboot-envtools/
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/uboot-envtools
20 SECTION:=utils
21 CATEGORY:=Utilities
22 TITLE:=read/modify the environment for the bootloader U-Boot
23 endef
24
25 define Package/uboot-envtools/description
26 endef
27
28 define Package/uboot-envtools/install
29 $(INSTALL_DIR) $(1)/usr/sbin
30 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fw_printenv $(1)/usr/sbin/
31 ln -s fw_printenv $(1)/usr/sbin/fw_setenv
32 endef
33
34 $(eval $(call BuildPackage,uboot-envtools))