1
0

Makefile 880 B

1234567891011121314151617181920212223242526272829
  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:= 6.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= fc2f7e714fe792db1ce6ddc4c9fb4ef3
  8. PKG_DESCR:= Command line editing library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_SITES:= ${MASTER_SITE_GNU:=readline/}
  13. PKG_SUBPKGS:= LIBREADLINE
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --with-curses
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libhistory.so* ${IDIR_LIBREADLINE}/usr/lib/
  20. ${CP} ${WRKINST}/usr/lib/libreadline.so* ${IDIR_LIBREADLINE}/usr/lib/
  21. include ${TOPDIR}/mk/pkg-bottom.mk