2 # Copyright (C) 2009-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
10 PKG_NAME:=bash-completion
14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/b/bash-completion/
16 PKG_MD5SUM:=8bc36281bb0567bc67a9083c4c5595a9
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
20 include $(INCLUDE_DIR)/package.mk
22 define Package/bash-completion
25 TITLE:=bash completion scripts
26 DEPENDS:=+libncurses +bash
27 URL:=http://www.caliban.org/bash/
31 define Package/bash-completion/description
32 bash completion extends bashs standard completion behavior
33 to achieve complex command lines with just a few keystrokes.
37 define Build/Configure
44 define Package/bash-completion/install
45 $(INSTALL_DIR) $(1)/etc
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bash_completion $(1)/etc/
49 define Package/bash-completion/conffiles
53 $(eval $(call BuildPackage,bash-completion))