2006-08-06 10:54:09 +00:00
|
|
|
#
|
2010-01-20 06:43:52 +00:00
|
|
|
# Copyright (C) 2007-2010 OpenWrt.org
|
2006-08-06 10:54:09 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=nano
|
2010-01-20 06:43:52 +00:00
|
|
|
PKG_VERSION:=2.2.2
|
2006-08-06 10:54:09 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2009-12-05 01:06:36 +00:00
|
|
|
PKG_SOURCE_URL:=http://www.nano-editor.org/dist/v2.2
|
2010-01-20 06:43:52 +00:00
|
|
|
PKG_MD5SUM:=7e3fa2c9877664f377372ef378b9f230
|
2006-08-06 10:54:09 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/nano
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+libncurses
|
|
|
|
TITLE:=An enhanced clone of the Pico text editor
|
|
|
|
URL:=http://www.nano-editor.org/
|
2008-04-13 12:06:07 +00:00
|
|
|
SUBMENU:=Editors
|
2006-08-06 10:54:09 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/nano/description
|
2009-09-22 06:12:40 +00:00
|
|
|
GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone
|
|
|
|
of the Pico text editor.
|
2007-10-14 04:32:56 +00:00
|
|
|
endef
|
|
|
|
|
2007-12-28 16:54:46 +00:00
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-tiny \
|
|
|
|
--disable-glibtest \
|
|
|
|
--disable-utf8 \
|
|
|
|
--without-slang \
|
2006-08-06 10:54:09 +00:00
|
|
|
|
2007-12-28 16:54:46 +00:00
|
|
|
CONFIGURE_VARS += \
|
|
|
|
ac_cv_header_regex_h=no \
|
2006-08-06 10:54:09 +00:00
|
|
|
|
2009-09-22 06:12:40 +00:00
|
|
|
define Package/nano/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2007-12-28 16:54:46 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
|
2006-08-06 10:54:09 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,nano))
|