2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=ed68ea9b43d9fba0972cb017a24940a1
16 PKG_SOURCE_URL
:=@GNU
/screen
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
29 TITLE
:=Full-screen terminal window manager
30 DESCRIPTION
:=Screen is a full-screen window manager that multiplexes a physical
\\\
31 terminal between several processes
, typically interactive shells.
\\\
32 URL
:=http
://www.gnu.org
/software
/screen
/
35 define Build
/Configure
36 (cd
$(PKG_BUILD_DIR
); rm -rf config.
{cache
,status
} ; \
37 $(TARGET_CONFIGURE_OPTS
) \
38 CFLAGS
="$(TARGET_CFLAGS)" \
39 CPPFLAGS
="-I$(STAGING_DIR)/usr/include" \
40 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
42 --target
=$(GNU_TARGET_NAME
) \
43 --host
=$(GNU_TARGET_NAME
) \
44 --build
=$(GNU_HOST_NAME
) \
50 --datadir=/usr
/share \
51 --includedir=/usr
/include \
52 --infodir=/usr
/share
/info \
54 --libexecdir
=/usr
/lib \
55 --localstatedir
=/var \
56 --mandir=/usr
/share
/man \
59 $(DISABLE_LARGEFILE
) \
67 $(MAKE
) -C
$(PKG_BUILD_DIR
)
70 define Package
/screen
/install
71 install -d
-m0755
$(1)/usr
/sbin
72 install -m0755
$(PKG_BUILD_DIR
)/screen
$(1)/usr
/sbin
/
75 $(eval
$(call BuildPackage
,screen
))