[package] update nano to 2.1.9 (#4846)
[openwrt/svn-archive/archive.git] / utils / nano / Makefile
1 #
2 # Copyright (C) 2007 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:=nano
12 PKG_VERSION:=2.1.9
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.nano-editor.org/dist/v2.1
17 PKG_MD5SUM:=41e9ffb4a055eba666cdb17c4e50ba21
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/nano
22 SECTION:=utils
23 CATEGORY:=Utilities
24 DEPENDS:=+libncurses
25 TITLE:=An enhanced clone of the Pico text editor
26 URL:=http://www.nano-editor.org/
27 SUBMENU:=Editors
28 endef
29
30 define Package/nano/description
31 GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone
32 of the Pico text editor..
33 endef
34
35 CONFIGURE_ARGS += \
36 --enable-tiny \
37 --disable-glibtest \
38 --disable-utf8 \
39 --without-slang \
40
41 CONFIGURE_VARS += \
42 ac_cv_header_regex_h=no \
43
44 define Package/nano/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
47 endef
48
49 $(eval $(call BuildPackage,nano))