2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.ewtoo.org/~astyanax/nano/dist/v1.3 \
17 http://www.nano-editor.org/dist/v1.3
18 PKG_MD5SUM:=20633397bf5d462255f37dfcc7cad4e7
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
24 include $(INCLUDE_DIR)/package.mk
30 TITLE:=An enhanced clone of the Pico text editor
32 GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone \\\
33 of the Pico text editor..
34 URL:=http://www.nano-editor.org/
37 define Build/Configure
38 $(call Build/Configure/Default, \
44 ac_cv_header_regex_h=no \
49 $(MAKE) -C $(PKG_BUILD_DIR) \
50 DESTDIR="$(PKG_INSTALL_DIR)" \
54 define Package/nano/install
55 $(INSTALL_DIR) $(1)/usr/bin
56 $(CP) $(PKG_INSTALL_DIR)/usr/bin/nano $(1)/usr/bin/
59 $(eval $(call BuildPackage,nano))