Add yamonenv, utility to read and configure variables for the YAMON bootloader
[openwrt-10.03/.git] / package / yamonenv / Makefile
1
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 4091 2006-06-27 00:35:46Z mbm $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=yamonenv
12 PKG_VERSION:=20051022
13 PKG_RELEASE:=1
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
16 PKG_SOURCE:=$(PKG_NAME)_gruen.4g__$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://meshcube.org/nylon/stable/sources/
18 PKG_MD5SUM:=a3e4f24155aa3ba5aa502bc63fdaa6ad
19 PKG_CAT:=zcat
20
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/yamonenv
26 SECTION:=sys
27 CATEGORY:=Base system
28 DEPENDS:=@LINUX_2_6_AU1000@
29 TITLE:=YAMON configuration utility
30 DESCRIPTION:=YAMON bootloader configuration utility
31 URL:=http://meshcube.org/nylon/stable/sources/
32 endef
33
34 define Build/Configure
35 endef
36
37 define Build/Compile
38         $(call Build/Compile/Default,all)
39 endef
40
41 define Package/yamonenv/install
42         install -d -m0755 $(1)/usr/sbin
43         $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,yamonenv))