nss: update to 3.27.1
[openadk.git] / package / screen / Makefile
blob2bdb1f5d25e84207c6527cdc67326367c95526ad
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= screen
7 PKG_VERSION:= 4.4.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= ef722a54759a3bf23aad272bbf33c414c1078cad6bcd982fada93c0d7917218b
10 PKG_DESCR:= window manager for the terminal session
11 PKG_SECTION:= sys/utils
12 PKG_DEPENDS:= libncurses libelf
13 PKG_BUILDDEP:= ncurses libelf
14 PKG_URL:= http://www.gnu.org/software/screen/
15 PKG_SITES:= ${MASTER_SITE_GNU:=screen/}
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include ${ADK_TOPDIR}/mk/package.mk
21 $(eval $(call PKG_template,SCREEN,screen,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 TARGET_LDFLAGS+= -ltinfo
24 CONFIGURE_ENV+= $(foreach flag,rename fchmod fchown strerror lstat _exit utimes vsnprintf getcwd setlocale strftime,ac_cv_func_${flag}=yes)
25 CONFIGURE_ARGS+= --with-sys-screenrc=/etc/screenrc
27 pre-build:
28 echo '#undef UTMPOK' >> ${WRKBUILD}/config.h
29 echo '#undef LOGINDEFAULT' >> ${WRKBUILD}/config.h
30 echo '#define LOGINDEFAULT 0' >> ${WRKBUILD}/config.h
31 echo '#undef GETUTENT' >> ${WRKBUILD}/config.h
32 echo '#undef UTHOST' >> ${WRKBUILD}/config.h
33 echo '#undef BUGGYGETLOGIN' >> ${WRKBUILD}/config.h
35 screen-install:
36 ${INSTALL_DIR} ${IDIR_SCREEN}/usr/bin
37 ${INSTALL_BIN} ${WRKINST}/usr/bin/screen ${IDIR_SCREEN}/usr/bin/
39 include ${ADK_TOPDIR}/mk/pkg-bottom.mk