Makefile 935 B

123456789101112131415161718192021222324252627282930
  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:= readline
  5. PKG_VERSION:= 5.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e39331f32ad14009b9ff49cc10c5e751
  8. PKG_DESCR:= Command line editing library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libncurses
  11. PKG_SITES:= ${MASTER_SITE_GNU:=readline/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE:= gnu
  15. CONFIGURE_ARGS+= --with-curses
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libhistory.so.* ${IDIR_LIBREADLINE}/usr/lib/
  21. ${CP} ${WRKINST}/usr/lib/libreadline.so.* ${IDIR_LIBREADLINE}/usr/lib/
  22. chmod u+w ${IDIR_LIBREADLINE}/usr/lib/*
  23. include ${TOPDIR}/mk/pkg-bottom.mk