Makefile 999 B

12345678910111213141516171819202122232425262728
  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:= screen
  5. PKG_VERSION:= 4.0.3
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 8506fd205028a96c741e4037de6e3c42
  8. PKG_DESCR:= A window manager for the terminal session
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libncurses libelf
  11. PKG_BUILDDEP:= ncurses libelf
  12. PKG_URL:= http://www.gnu.org/software/screen/
  13. PKG_SITES:= ${MASTER_SITE_GNU:=screen/}
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,SCREEN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= $(foreach flag,rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime,ac_cv_func_${flag}=yes)
  17. CONFIGURE_ARGS+= --with-sys-screenrc=/etc/screenrc
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_SCREEN}/usr/bin
  20. ${INSTALL_BIN} ${WRKINST}/usr/bin/screen ${IDIR_SCREEN}/usr/bin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk