Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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:= readline
  5. PKG_VERSION:= 6.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= fc2f7e714fe792db1ce6ddc4c9fb4ef3
  8. PKG_DESCR:= command line editing library
  9. PKG_SECTION:= libs/misc
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_SITES:= ${MASTER_SITE_GNU:=readline/}
  13. PKG_LIBNAME:= libreadline
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${ADK_TOPDIR}/mk/host.mk
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call HOST_template,READLINE,readline,${PKG_VERSION}-${PKG_RELEASE}))
  19. $(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIGURE_ARGS+= --with-curses
  21. libreadline-install:
  22. ${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libhistory.so* ${IDIR_LIBREADLINE}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libreadline.so* ${IDIR_LIBREADLINE}/usr/lib
  25. include ${ADK_TOPDIR}/mk/host-bottom.mk
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk