summaryrefslogtreecommitdiffstats
path: root/meta/packages/bash/bash.inc
diff options
context:
space:
mode:
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}