branch Attitude Adjustment packages
[12.09/packages.git] / utils / byobu / Makefile
1 #
2 # Copyright (C) 2009 Sharim At Work, Ltd.
3 # Author: Xiangfu Liu <xiangfu@sharism.cc>
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=byobu
12 PKG_VERSION:=3.6
13
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
15 PKG_SOURCE_URL:=http://launchpad.net/byobu/trunk/3.6/+download/
16 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
17 PKG_INSTALL:=1
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/byobu
22     MAINTAINER:="Xiangfu Liu" <xiangfu@sharism.cc>
23     SECTION:=utils
24     CATEGORY:=Utilities
25     TITLE:=a Japanese term for decorative, multi-panel screens that serve as folding room dividers
26     URL:=https://launchpad.net/byobu
27 endef
28
29 define Package/byobu/description
30   Byobu is a Japanese term for decorative, multi-panel screens that serve
31   as folding room dividers. As an open source project, Byobu is an elegant
32   enhancement of the otherwise functional, plain, practical GNU Screen.
33   Byobu includes an enhanced profile and configuration utilities for the
34   GNU screen window manager, such as toggle-able system status notifications.
35 endef
36
37 define Package/byobu/install
38         $(INSTALL_DIR) \
39                 $(1)/usr/bin \
40                 $(1)/usr/lib/byobu \
41                 $(1)/usr/share
42
43         $(INSTALL_BIN) \
44                 $(PKG_INSTALL_DIR)/usr/bin/* \
45                 $(1)/usr/bin/
46
47         $(CP) \
48                 $(PKG_INSTALL_DIR)/usr/lib/byobu \
49                 $(1)/usr/lib/
50
51         $(CP) \
52                 $(PKG_INSTALL_DIR)/usr/share/byobu \
53                 $(1)/usr/share/
54 endef
55
56 $(eval $(call BuildPackage,byobu))