packages/utils/screen/Makefile
nico d1cac1e535 use Build/Configure/Default macro, Makefile cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@5329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-28 22:43:08 +00:00

48 lines
1.1 KiB
Makefile

#
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id$
include $(TOPDIR)/rules.mk
PKG_NAME:=screen
PKG_VERSION:=4.0.2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@GNU/screen
PKG_MD5SUM:=ed68ea9b43d9fba0972cb017a24940a1
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(INCLUDE_DIR)/package.mk
define Package/screen
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=+libncurses
TITLE:=Full-screen terminal window manager
DESCRIPTION:=\
Screen is a full-screen window manager that multiplexes a physical\\\
terminal between several processes, typically interactive shells.
URL:=http://www.gnu.org/software/screen/
endef
# uses GNU configure
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)
endef
define Package/screen/install
install -d -m0755 $(1)/usr/sbin
install -m0755 $(PKG_BUILD_DIR)/screen $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,screen))