diff options
author | Ross Burton <ross@openedhand.com> | 2007-01-21 21:07:52 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-01-21 21:07:52 +0000 |
commit | 02ee3a2571de39b6d4c8c85ef290951e6ee1a75f (patch) | |
tree | 72c3cac93435d5f0b2dd11a495b8a5426a745079 /meta-extras/packages/bash/bash_3.2.bb | |
parent | 7f164499c9b26204bccaba66e3d2a7e4377e1ee1 (diff) | |
download | poky-02ee3a2571de39b6d4c8c85ef290951e6ee1a75f.tar.gz |
Add bash for dhcp-client (hopefully temporarily)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1185 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 | } | ||