[packages] nano: update to 2.2.4
authorNicolas Thill <nico@openwrt.org>
Tue, 20 Apr 2010 21:22:57 +0000 (21:22 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 20 Apr 2010 21:22:57 +0000 (21:22 +0000)
SVN-Revision: 21064

utils/nano/Makefile

index b9e0751697f487b6c32b6cbc6f513696137a2d18..2934c29f370d365f73830e057b5c2ff4930566f2 100644 (file)
@@ -8,25 +8,25 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nano
-PKG_VERSION:=2.2.3
+PKG_VERSION:=2.2.4
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.nano-editor.org/dist/v2.2
-PKG_MD5SUM:=91918a484f54f94fedaebe00dc393a50
+PKG_MD5SUM:=6304308afb1f7ef4a5e93eb99206632a
 
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
 define Package/nano
+  SUBMENU:=Editors
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+libncurses
   TITLE:=An enhanced clone of the Pico text editor
   URL:=http://www.nano-editor.org/
-  SUBMENU:=Editors
   MAINTAINER:=Bernhard Loos <bernhardloos@googlemail.com>
+  DEPENDS:=+libncurses
 endef
 
 define Package/nano/description
@@ -45,7 +45,7 @@ CONFIGURE_VARS += \
 
 define Package/nano/install
        $(INSTALL_DIR) $(1)/usr/bin
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
 endef
 
 $(eval $(call BuildPackage,nano))