Upgrade screen to 4.0.3 (#1846)
[openwrt/svn-archive/archive.git] / utils / screen / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=screen
12 PKG_VERSION:=4.0.3
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/utilities/screen \
17 @GNU/screen
18 PKG_MD5SUM:=8506fd205028a96c741e4037de6e3c42
19 PKG_CAT:=zcat
20
21 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/screen
27 SECTION:=utils
28 CATEGORY:=Utilities
29 DEPENDS:=+libncurses
30 TITLE:=Full-screen terminal window manager
31 DESCRIPTION:=\
32 Screen is a full-screen window manager that multiplexes a physical\\\
33 terminal between several processes, typically interactive shells.
34 URL:=http://www.gnu.org/software/screen/
35 endef
36
37 define Build/Configure
38 $(call Build/Configure/Default,,\
39 LIBS="-lcrypt" \
40 )
41 endef
42
43 define Package/screen/install
44 $(INSTALL_DIR) $(1)/usr/sbin
45 $(INSTALL_BIN) $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
46 endef
47
48 $(eval $(call BuildPackage,screen))