add libtool fixes, cleanup
[openwrt/svn-archive/archive.git] / utils / fconfig / 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=fconfig
11 PKG_VERSION:=20060419
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:=abc1aca11ee9c9d9b65057c3cf1ca88c
17 PKG_CAT:=zcat
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/fconfig
25 SECTION:=utils
26 CATEGORY:=Utilities
27 TITLE:=RedBoot configuration editor
28 DESCRIPTION:=\
29 displays and (if writable) also edits the RedBoot configuration.
30 URL:=http://andrzejekiert.ovh.org/software.html.en
31 endef
32
33 define Build/Configure
34 endef
35
36 define Build/Compile
37 $(call Build/Compile/Default)
38 endef
39
40 define Package/fconfig/install
41 $(INSTALL_DIR) $(1)/usr/sbin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/fconfig $(1)/usr/sbin/
43 endef
44
45 $(eval $(call BuildPackage,fconfig))