packages: add missing conffiles define
[openwrt/svn-archive/archive.git] / utils / bash-completion / Makefile
1 #
2 # Copyright (C) 2009-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=bash-completion
11 PKG_VERSION:=20080705
12 PKG_RELEASE:=2
13
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
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/bash-completion
23 SECTION:=utils
24 CATEGORY:=Utilities
25 TITLE:=bash completion scripts
26 DEPENDS:=+libncurses +bash
27 URL:=http://www.caliban.org/bash/
28 PKGARCH:=all
29 endef
30
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.
34 endef
35
36
37 define Build/Configure
38 endef
39
40
41 define Build/Compile
42 endef
43
44 define Package/bash-completion/install
45 $(INSTALL_DIR) $(1)/etc
46 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bash_completion $(1)/etc/
47 endef
48
49 define Package/bash-completion/conffiles
50 /etc/bash_completion
51 endef
52
53 $(eval $(call BuildPackage,bash-completion))