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