Makefile 825 B

1234567891011121314151617181920212223242526272829
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= readline
  7. PKG_VERSION:= 5.2
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= e39331f32ad14009b9ff49cc10c5e751
  10. MASTER_SITES:= ${MASTER_SITE_GNU:=readline/}
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBREADLINE,libreadline,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ARGS+= --with-curses
  15. BUILD_STYLE:= auto
  16. INSTALL_STYLE:= auto
  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. chmod u+w ${IDIR_LIBREADLINE}/usr/lib/*
  22. include ${TOPDIR}/mk/pkg-bottom.mk