Changeset 21807


Ignore:
Timestamp:
2010-06-14T23:48:57+02:00 (8 years ago)
Author:
florian
Message:

[package] add package for script from util-linux-ng (#7416)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/util-linux-ng/Makefile

    r19559 r21807  
    111111$(call Package/util-linux/Default) 
    112112  TITLE:=Tool for setting terminal attributes 
    113   SUBMENU:=terminal 
     113  SUBMENU:=Terminal 
    114114  DEPENDS:= +libncurses 
    115115endef 
     
    117117define Package/setterm/description 
    118118  This package contains a utility for setting terminal attributes 
     119endef 
     120 
     121define Package/script 
     122$(call Package/util-linux/Default) 
     123  TITLE:=Make typescript of terminal session 
     124  SUBMENU=Terminal 
     125endef 
     126 
     127define Package/script/description 
     128 Script makes a typescript of everything printed on your terminal. 
     129 http://linux.die.net/man/1/script 
    119130endef 
    120131 
     
    127138        $(MAKE) -C $(PKG_BUILD_DIR)/sys-utils flock 
    128139        $(MAKE) -C $(PKG_BUILD_DIR)/misc-utils setterm 
     140        $(MAKE) -C $(PKG_BUILD_DIR)/misc-utils script 
    129141endef 
    130142 
     
    173185        $(INSTALL_DIR) $(1)/usr/bin 
    174186        $(INSTALL_BIN) $(PKG_BUILD_DIR)/misc-utils/setterm $(1)/usr/bin/ 
     187endef 
     188 
     189define Package/script/install 
     190        $(INSTALL_DIR) $(1)/usr/bin 
     191        $(INSTALL_BIN) $(PKG_BUILD_DIR)/misc-utils/script $(1)/usr/bin/ 
    175192endef 
    176193 
     
    185202$(eval $(call BuildPackage,flock)) 
    186203$(eval $(call BuildPackage,setterm)) 
     204$(eval $(call BuildPackage,script)) 
Note: See TracChangeset for help on using the changeset viewer.