Makefile 1017 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:= 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
  11. PKG_BUILDDEP+= ncurses
  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_STYLE:= gnu
  17. CONFIGURE_ENV+= $(foreach flag,rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime,ac_cv_func_${flag}=yes)
  18. CONFIGURE_ARGS+= --with-sys-screenrc=/etc/screenrc
  19. BUILD_STYLE:= auto
  20. do-install:
  21. ${INSTALL_DIR} ${IDIR_SCREEN}/usr/bin
  22. ${INSTALL_BIN} ${WRKBUILD}/screen ${IDIR_SCREEN}/usr/bin/
  23. include ${TOPDIR}/mk/pkg-bottom.mk