diff options
Diffstat (limited to 'meta-extras/packages/bash/bash_3.2.bb')
-rw-r--r-- | meta-extras/packages/bash/bash_3.2.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-extras/packages/bash/bash_3.2.bb b/meta-extras/packages/bash/bash_3.2.bb new file mode 100644 index 0000000000..e3d6b0560c --- /dev/null +++ b/meta-extras/packages/bash/bash_3.2.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "An sh-compatible command language interpreter." | ||
2 | HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" | ||
3 | DEPENDS = "ncurses" | ||
4 | SECTION = "base/shell" | ||
5 | LICENSE = "GPL" | ||
6 | |||
7 | SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ | ||
8 | file://001-005.patch;patch=1" | ||
9 | |||
10 | inherit autotools gettext | ||
11 | |||
12 | PARALLEL_MAKE = "" | ||
13 | |||
14 | bindir = "/bin" | ||
15 | sbindir = "/sbin" | ||
16 | |||
17 | EXTRA_OECONF = "--with-ncurses" | ||
18 | export CC_FOR_BUILD = "${BUILD_CC}" | ||
19 | |||
20 | do_configure () { | ||
21 | gnu-configize | ||
22 | oe_runconf | ||
23 | } | ||
24 | |||
25 | pkg_postinst () { | ||
26 | grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells | ||
27 | grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells | ||
28 | } | ||