Root/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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=dialog
11PKG_VERSION:=1.1-20080819
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15PKG_SOURCE_URL:=ftp://invisible-island.net/dialog
16PKG_MD5SUM:=3caebd641a9f337b980becb4444336c5
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/dialog
21    SECTION:=utils
22    CATEGORY:=Utilities
23    DEPENDS:=+libncurses
24    TITLE:=Dialog
25    URL:=http://invisible-island.net/dialog/
26endef
27
28define Package/dialog/description
29    A script-interpreter which provides a set of curses widgets.
30endef
31
32define Build/Configure
33    $(call Build/Configure/Default)
34endef
35
36define Package/dialog/install
37    $(INSTALL_DIR) $(1)/usr/bin
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/dialog $(1)/usr/bin
39    $(STRIP) $(1)/usr/bin/dialog
40endef
41
42$(eval $(call BuildPackage,dialog))
43

Archive Download this file



interactive