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
14 PKG_MD5SUM
:=20633397bf5d462255f37dfcc7cad4e7
16 PKG_SOURCE_URL
:=http
://www.ewtoo.org
/~astyanax
/nano
/dist/v1.3 \
17 http
://www.nano-editor.org
/dist/v1.3
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
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
30 DESCRIPTION
:=GNU nano
(Nano
's ANOther editor, or Not ANOther editor) is an enhanced clone of the Pico text editor..
31 URL:=http://www.nano-editor.org/
34 define Build/Configure
35 $(call Build/Configure/Default,--enable-shared \
42 --without-slang,ac_cv_header_regex_h=no)
46 rm -rf $(PKG_INSTALL_DIR)
47 mkdir -p $(PKG_INSTALL_DIR)
48 $(MAKE) -C $(PKG_BUILD_DIR) \
49 DESTDIR="$(PKG_INSTALL_DIR)" \
53 define Package/nano/install
54 install -d -m0755 $(1)/usr/bin
55 $(CP) $(PKG_INSTALL_DIR)/usr/bin/nano $(1)/usr/bin/
58 $(eval $(call BuildPackage,nano))