You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2007-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=nano
  9. PKG_VERSION:=2.3.5
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.nano-editor.org/dist/v2.3
  13. PKG_MD5SUM:=a771f6283ac1edee8e5486209910c829
  14. PKG_INSTALL:=1
  15. PKG_BUILD_PARALLEL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/nano
  18. SUBMENU:=Editors
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:=An enhanced clone of the Pico text editor
  22. URL:=http://www.nano-editor.org/
  23. MAINTAINER:=Jonathan Bennett <JBennett@incomsystems.biz>
  24. DEPENDS:=+libncurses
  25. endef
  26. define Package/nano/description
  27. GNU nano (Nano's ANOther editor, or Not ANOther editor) is an enhanced clone
  28. of the Pico text editor.
  29. endef
  30. CONFIGURE_ARGS += \
  31. --enable-tiny \
  32. --disable-glibtest \
  33. --disable-utf8 \
  34. --without-slang \
  35. --disable-color \
  36. CONFIGURE_VARS += \
  37. ac_cv_header_regex_h=no \
  38. define Package/nano/install
  39. $(INSTALL_DIR) $(1)/usr/bin
  40. $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
  41. endef
  42. $(eval $(call BuildPackage,nano))