Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= nano
  5. PKG_VERSION:= 2.2.6
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= be68e133b5e81df41873d32c517b3e5950770c00fc5f4dd23810cd635abce67a
  8. PKG_DESCR:= enhanced clone of the pico editor
  9. PKG_SECTION:= app/editor
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_URL:= http://www.nano-editor.org/
  13. PKG_SITES:= http://www.nano-editor.org/dist/v2.2/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,NANO,nano,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= ac_cv_header_regex_h=no
  18. CONFIGURE_ARGS+= --enable-nanorc \
  19. --enable-tiny \
  20. --disable-utf8 \
  21. --disable-glibtest \
  22. --disable-color \
  23. --without-slang \
  24. --disable-browser \
  25. --disable-help \
  26. --disable-mouse \
  27. --disable-speller \
  28. --disable-operatingdir \
  29. --enable-multibuffer
  30. TARGET_LDFLAGS+= -ltinfo
  31. nano-install:
  32. ${INSTALL_DIR} ${IDIR_NANO}/usr/bin
  33. ${INSTALL_BIN} ${WRKINST}/usr/bin/nano ${IDIR_NANO}/usr/bin/
  34. ${INSTALL_DIR} ${IDIR_NANO}/etc
  35. $(INSTALL_DATA) ./files/nanorc ${IDIR_NANO}/etc/
  36. include ${ADK_TOPDIR}/mk/pkg-bottom.mk