Makefile 993 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:= screen
  5. PKG_VERSION:= 4.0.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 8506fd205028a96c741e4037de6e3c42
  8. PKG_DESCR:= A window manager for the terminal session
  9. PKG_SECTION:= misc
  10. PKG_DEPENDS:= libncurses
  11. PKG_URL:= http://www.gnu.org/software/screen
  12. PKG_SITES:= ${MASTER_SITE_GNU:=screen/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,SCREEN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  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. BUILD_STYLE:= auto
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_SCREEN}/usr/bin
  21. ${INSTALL_BIN} ${WRKBUILD}/screen ${IDIR_SCREEN}/usr/bin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk