c04afdaac2529177fd84046339d79564180aa5cf
[openwrt.git] / package / boot / fconfig / Makefile
1 #
2 # Copyright (C) 2006-2008 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:=fconfig
11 PKG_VERSION:=20080329
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://andrzejekiert.ovh.org/software/fconfig/
16 PKG_MD5SUM:=dac355e9f2a0f48c414c52e2034b6346
17
18 PKG_LICENSE:=GPL-2.0+
19 PKG_LICENSE_FILES:=
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/fconfig
26   SECTION:=utils
27   CATEGORY:=Utilities
28   TITLE:=RedBoot configuration editor
29   URL:=http://andrzejekiert.ovh.org/software.html.en
30 endef
31
32 define Package/fconfig/description
33         displays and (if writable) also edits the RedBoot configuration.
34 endef
35
36 define Build/Configure
37 endef
38
39 define Build/Compile
40         $(call Build/Compile/Default)
41 endef
42
43 define Package/fconfig/install
44         $(INSTALL_DIR) $(1)/usr/sbin
45         $(INSTALL_BIN) $(PKG_BUILD_DIR)/fconfig $(1)/usr/sbin/
46 endef
47
48 $(eval $(call BuildPackage,fconfig))