From: pavlov Date: Wed, 7 Mar 2007 15:46:36 +0000 (+0000) Subject: dialog for graphical prompting X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=69a2b16900172752449f5d28ba694cac3352d96a;p=packages.git dialog for graphical prompting git-svn-id: svn://svn.openwrt.org/openwrt/packages@6537 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/utils/dialog/Makefile b/utils/dialog/Makefile new file mode 100644 index 000000000..ed1d89233 --- /dev/null +++ b/utils/dialog/Makefile @@ -0,0 +1,45 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=dialog +PKG_VERSION:=1.0-20060221 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=ftp://invisible-island.net/dialog +PKG_MD5SUM:=acfd843163394e8bb17c841fdbe9c4a4 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/dialog + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libncurses + TITLE:=Dialog + DESCRIPTION:=\ + A script-interpreter which provides a set of curses widgets. + URL=http://invisible-island.net/dialog/ +endef + +define Build/Configure + $(call Build/Configure/Default) +endef + +define Package/dialog/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) $(PKG_BUILD_DIR)/dialog $(1)/usr/bin + $(STRIP) $(1)/usr/bin/dialog +endef + +$(eval $(call BuildPackage,dialog)) +