summaryrefslogtreecommitdiffstats
path: root/meta/packages/bash/bash.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-10-25 11:52:46 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-10-25 11:52:46 +0000
commit74beec7beb3c730818891818be1e7b525eb001b5 (patch)
tree2133c8ee4f7eede573c01e67a214133861da2d81 /meta/packages/bash/bash.inc
parent52b64ddf61a38940e5ae7675f9dfedc3253e39cc (diff)
downloadpoky-74beec7beb3c730818891818be1e7b525eb001b5.tar.gz
bash: sync with OE (no package changes)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2959 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bash/bash.inc')
-rw-r--r--meta/packages/bash/bash.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/packages/bash/bash.inc b/meta/packages/bash/bash.inc
new file mode 100644
index 0000000000..80aedfa1c8
--- /dev/null
+++ b/meta/packages/bash/bash.inc
@@ -0,0 +1,26 @@
1DESCRIPTION = "An sh-compatible command language interpreter."
2HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
3DEPENDS = "ncurses"
4SECTION = "base/shell"
5LICENSE = "GPL"
6
7inherit autotools gettext
8
9PARALLEL_MAKE = ""
10
11bindir = "/bin"
12sbindir = "/sbin"
13
14EXTRA_OECONF = "--with-ncurses"
15export CC_FOR_BUILD = "${BUILD_CC}"
16
17do_configure () {
18 gnu-configize
19 oe_runconf
20}
21
22pkg_postinst () {
23 touch ${sysconfdir}/shells
24 grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells
25 grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells
26}