add wxBase framework library
[openwrt/svn-archive/archive.git] / utils / dialog / 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$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=dialog
12 PKG_VERSION:=1.0-20060221
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=ftp://invisible-island.net/dialog
17 PKG_MD5SUM:=acfd843163394e8bb17c841fdbe9c4a4
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/dialog
25 SECTION:=utils
26 CATEGORY:=Utilities
27 DEPENDS:=+libncurses
28 TITLE:=Dialog
29 DESCRIPTION:=\
30 A script-interpreter which provides a set of curses widgets.
31 URL=http://invisible-island.net/dialog/
32 endef
33
34 define Build/Configure
35 $(call Build/Configure/Default)
36 endef
37
38 define Package/dialog/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(CP) $(PKG_BUILD_DIR)/dialog $(1)/usr/bin
41 $(STRIP) $(1)/usr/bin/dialog
42 endef
43
44 $(eval $(call BuildPackage,dialog))
45