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.nano-editor.org
/dist/v2.0
17 PKG_MD5SUM
:=619107f0fc3c4383d668cef15aa3ca32
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
29 TITLE
:=An enhanced clone of the Pico text editor
31 GNU nano
(Nano
's ANOther editor, or Not ANOther editor) is an enhanced clone \\\
32 of the Pico text editor..
33 URL:=http://www.nano-editor.org/
36 define Build/Configure
37 $(call Build/Configure/Default, \
43 ac_cv_header_regex_h=no \
48 $(MAKE) -C $(PKG_BUILD_DIR) \
49 DESTDIR="$(PKG_INSTALL_DIR)" \
53 define Package/nano/install
54 $(INSTALL_DIR) $(1)/usr/bin
55 $(CP) $(PKG_INSTALL_DIR)/usr/bin/nano $(1)/usr/bin/
58 $(eval $(call BuildPackage,nano))