Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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,screen,${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. pre-build:
  19. echo '#undef UTMPOK' >> ${WRKBUILD}/config.h
  20. echo '#undef LOGINDEFAULT' >> ${WRKBUILD}/config.h
  21. echo '#define LOGINDEFAULT 0' >> ${WRKBUILD}/config.h
  22. echo '#undef GETUTENT' >> ${WRKBUILD}/config.h
  23. echo '#undef UTHOST' >> ${WRKBUILD}/config.h
  24. echo '#undef BUGGYGETLOGIN' >> ${WRKBUILD}/config.h
  25. screen-install:
  26. ${INSTALL_DIR} ${IDIR_SCREEN}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/screen ${IDIR_SCREEN}/usr/bin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk