packages/dialog: cleanup

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29246 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2011-11-18 23:13:29 +00:00
parent 5d6895abcc
commit aaef921a76

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006-2011 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dialog PKG_NAME:=dialog
PKG_VERSION:=1.1-20080819 PKG_VERSION:=1.1-20080819
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=ftp://invisible-island.net/dialog PKG_SOURCE_URL:=ftp://invisible-island.net/dialog
@ -18,26 +18,20 @@ PKG_MD5SUM:=3caebd641a9f337b980becb4444336c5
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/dialog define Package/dialog
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
DEPENDS:=+libncurses DEPENDS:=+libncurses
TITLE:=Dialog TITLE:=Dialog
URL:=http://invisible-island.net/dialog/ URL:=http://invisible-island.net/dialog/
endef endef
define Package/dialog/description define Package/dialog/description
A script-interpreter which provides a set of curses widgets. A script-interpreter which provides a set of curses widgets.
endef
define Build/Configure
$(call Build/Configure/Default)
endef endef
define Package/dialog/install define Package/dialog/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/dialog $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/dialog $(1)/usr/bin
$(STRIP) $(1)/usr/bin/dialog
endef endef
$(eval $(call BuildPackage,dialog)) $(eval $(call BuildPackage,dialog))