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