1
0

Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= nano
  5. PKG_VERSION:= 2.2.6
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 03233ae480689a008eb98feb1b599807
  8. PKG_DESCR:= An enhanced clone of the Pico editor
  9. PKG_SECTION:= 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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,NANO,nano,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= ac_cv_header_regex_h=no
  17. CONFIGURE_ARGS+= --enable-nanorc \
  18. --enable-tiny \
  19. --disable-utf8 \
  20. --disable-glibtest \
  21. --disable-color \
  22. --without-slang \
  23. --disable-browser \
  24. --disable-help \
  25. --disable-mouse \
  26. --disable-speller \
  27. --disable-operatingdir \
  28. --enable-multibuffer
  29. TARGET_LDFLAGS+= -ltinfo
  30. nano-install:
  31. ${INSTALL_DIR} ${IDIR_NANO}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/nano ${IDIR_NANO}/usr/bin/
  33. ${INSTALL_DIR} ${IDIR_NANO}/etc
  34. $(INSTALL_DATA) ./files/nanorc ${IDIR_NANO}/etc/
  35. include ${TOPDIR}/mk/pkg-bottom.mk