diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-08-24 13:43:21 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-08-24 13:43:21 +0000 |
| commit | 0de07466c91451b00262bebf4469430b036dc4ab (patch) | |
| tree | 24bd0a18f4ff3b8e4e9c47849d48eacd438dd758 /meta/packages/bash/bash_3.2.bb | |
| parent | 0bc8d543b01095313f7cb34d9f2e8ba4c21d609e (diff) | |
| download | poky-0de07466c91451b00262bebf4469430b036dc4ab.tar.gz | |
bash: Move from meta-extras to meta
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2555 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/bash/bash_3.2.bb')
| -rw-r--r-- | meta/packages/bash/bash_3.2.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/bash/bash_3.2.bb b/meta/packages/bash/bash_3.2.bb new file mode 100644 index 0000000000..e3d6b0560c --- /dev/null +++ b/meta/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 | } | ||
